diff --git a/test/e2e/Command/AssertBackwardsCompatibleTest.php b/test/e2e/Command/AssertBackwardsCompatibleTest.php index 35c54d0e..20a907fc 100644 --- a/test/e2e/Command/AssertBackwardsCompatibleTest.php +++ b/test/e2e/Command/AssertBackwardsCompatibleTest.php @@ -173,7 +173,7 @@ public function testWillAllowSpecifyingGitRevision() : void EXPECTED , - $exception->getOutput() // @TODO https://github.com/Roave/BackwardCompatibilityCheck/issues/79 this looks like a symfony bug - we shouldn't check STDERR, but STDOUT + $exception->getErrorOutput() // @TODO https://github.com/Roave/BackwardCompatibilityCheck/issues/79 this looks like a symfony bug - we shouldn't check STDERR, but STDOUT ); } } @@ -199,7 +199,7 @@ public function testWillRunSuccessfullyOnNoBcBreaks() : void '-vvv', ], $this->sourcesRepository); - self::assertStringContainsString('No backwards-incompatible changes detected', $output); + self::assertEmpty($output); } public function testWillPickTaggedVersionOnNoGivenFrom() : void