Skip to content

Update to PHPUnit 7 #908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 30, 2018
Merged

Update to PHPUnit 7 #908

merged 1 commit into from
Mar 30, 2018

Conversation

carusogabriel
Copy link
Contributor

No description provided.

@@ -83,7 +83,7 @@ public function testReturnsUniqueValueIfUniqueFlagsFound()
$result = $denormalizer->denormalize($fixture, $flags, $value);

$this->assertInstanceOf(UniqueValue::class, $result);
$this->stringContains('dummy_id', $result->getId());
$this->assertStringStartsWith('Dummy#', $result->getId());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was stringContains use in purpose?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with changing this if this is a issue I don't think there was a strong reasons for it.

@theofidry
Copy link
Member

theofidry commented Mar 29, 2018

👍 tests seems to be failing with lowest deps though. It looks like we might need to dump the minimal requirements of some deps (likely to be phpunit bridge but that would need to be checked)

@carusogabriel
Copy link
Contributor Author

carusogabriel commented Mar 30, 2018

@theofidry Sure, gonna look into that and update this PR ASAP :)

Edit: fixed 👍

Ref: doctrine/dbal#3009 (comment)

@theofidry theofidry merged commit 0d8fe50 into nelmio:master Mar 30, 2018
@theofidry
Copy link
Member

Great, thanks :)

@carusogabriel carusogabriel deleted the phpunit branch March 30, 2018 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants