Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jun 4, 2024
1 parent 0dd2f86 commit 21b8540
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"laravel/dusk": "^8.1",
"laravel/serializable-closure": "^1.0",
"orchestra/dusk-updater": "^2.4",
"orchestra/testbench": "^9.1.1",
"orchestra/testbench-core": ">=9.1.2 <9.2.0",
"orchestra/testbench": "^9.1.2",
"orchestra/testbench-core": ">=9.1.3 <9.2.0",
"php-webdriver/webdriver": "^1.15.1",
"symfony/polyfill-php83": "^1.28"
},
Expand Down
1 change: 0 additions & 1 deletion tests/Browser/WorkbenchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Orchestra\Testbench\Dusk\Tests\Browser;

use Illuminate\Contracts\Http\Kernel as HttpKernel;
use Laravel\Dusk\Browser;
use Orchestra\Testbench\Attributes\RequiresLaravel;
use Orchestra\Testbench\Attributes\WithEnv;
use Orchestra\Testbench\Concerns\WithWorkbench;
Expand Down
4 changes: 3 additions & 1 deletion workbench/routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
|
*/

Route::get('/hello', function () {
Route::get('api/hello', function () {
return response()->json('hello world');
});

Route::get('api/failed', fn () => throw new RuntimeException('Bad route!'));

0 comments on commit 21b8540

Please sign in to comment.