Skip to content

Commit f1f8ef2

Browse files
author
Tortue Torche
committed
PHP 5.4 doesn't support Class name resolution via ::class
1 parent 3a85e4b commit f1f8ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/JqlControllerAdditionsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function testRenderMethodWithJSRequest()
9999

100100
protected function mockProject($project)
101101
{
102-
$mock = m::mock(Project::class);
102+
$mock = m::mock('Jql\Project');
103103
$mock->shouldReceive('all')->andReturn([$project]);
104104

105105
return $mock;

0 commit comments

Comments
 (0)