Skip to content

Commit e3b9325

Browse files
author
Aruna Lakmal
committed
fix incorrect method call
1 parent e969594 commit e3b9325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/FunctionInjectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testTemplate()
2828
public function testSave()
2929
{
3030
$this->funcInjector->save();
31-
exec('php -l '.__FILE__, $output, $code);
31+
exec('php -l '.$this->funcInjector->getFileName(), $output, $code);
3232
verify($code)->equals(0);
3333
codecept_debug($this->funcInjector->getPHP());
3434
}

0 commit comments

Comments
 (0)