Skip to content

Commit

Permalink
fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikzogg committed Jan 12, 2020
1 parent a8d331b commit 4826629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/MockByCallsTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ public function testInterfacesWithCallAndReturnSelf()
self::assertSame($mock, $mock->sample($argument1));
self::assertSame($mock, $mock->additionalSample($argument2));
} catch (\TypeError $typeError) {
self::assertSame(
self::assertStringStartsWith(
'Argument 1 passed to PHPUnit\Framework\TestCase::getMockBuilder() must be of the type string'
.', array given, called in /vagrant/chubbyphp-mock/src/MockByCallsTrait.php on line 67',
.', array given',
$typeError->getMessage()
);
}
Expand Down

0 comments on commit 4826629

Please sign in to comment.