Skip to content

Commit e742f0c

Browse files
committed
Fixed mocked method case in PHPUnit 5.x
1 parent 1a94f5c commit e742f0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/aik099/PHPUnit/Integration/SuiteBuildingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ protected function createTestSuite($class_name)
117117
}
118118

119119
if ( version_compare(\PHPUnit_Runner_Version::id(), '5.0.0', '>=') ) {
120-
$suite->shouldReceive('setbeStrictAboutChangesToGlobalState');
120+
$suite->shouldReceive('setBeStrictAboutChangesToGlobalState');
121121
}
122122

123123
return $suite;

0 commit comments

Comments
 (0)