Skip to content

Commit 356c7e0

Browse files
committed
Wip
1 parent 7ed41a7 commit 356c7e0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/Unit/ZiggyTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@
196196

197197
test('use subdomain from current request', function () {
198198
Route::domain('{team}.ziggy.dev')
199-
->post('/', fn () => response()->json(new Ziggy))
200-
->name('home');
199+
->post('/test', fn () => response()->json(new Ziggy))
200+
->name('test');
201201

202-
post(route('home', ['team' => 'tgtn']))
202+
post(route('test', ['team' => 'tgtn']))
203203
->assertJson([
204204
'url' => 'http://tgtn.ziggy.dev',
205205
]);

0 commit comments

Comments
 (0)