Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit 787e196

Browse files
committed
Fix paths for testbech to fix tests
1 parent 869bfa8 commit 787e196

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

composer.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@
1919
"league/tactician": "1.0.*"
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit" : "4.*",
22+
"phpunit/phpunit" : "6.*",
2323
"scrutinizer/ocular": "~1.1",
2424
"mockery/mockery" : "0.9.*",
25-
"orchestra/testbench": "~3.3",
26-
"squizlabs/php_codesniffer": "~2.3"
25+
"orchestra/testbench": "~3.5"
2726
},
2827
"autoload": {
2928
"psr-4": {

tests/Generators/TestGenerators.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ protected function makeHandler()
6969
*/
7070
protected function getExpectedCommandFile()
7171
{
72-
return __DIR__ . '/../../vendor/orchestra/testbench/fixture/app/CommandBus/Commands/FooCommand.php';
72+
return __DIR__ . '/../../vendor/orchestra/testbench-core/laravel/app/CommandBus/Commands/FooCommand.php';
7373
}
7474

7575
/**
7676
* @return string
7777
*/
7878
protected function getExpectedHandlerFile()
7979
{
80-
return __DIR__ . '/../../vendor/orchestra/testbench/fixture/app/CommandBus/Handlers/FooHandler.php';
80+
return __DIR__ . '/../../vendor/orchestra/testbench-core/laravel/app/CommandBus/Handlers/FooHandler.php';
8181
}
8282

8383
/**

0 commit comments

Comments
 (0)