From aec2ba6d7a79744ebca77bb6eb11ac76546eca1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 2 Sep 2022 19:00:24 +0200 Subject: [PATCH] fix string --- tests/PathIdentificationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PathIdentificationTest.php b/tests/PathIdentificationTest.php index 8f9d84ab..bfa8f8ad 100644 --- a/tests/PathIdentificationTest.php +++ b/tests/PathIdentificationTest.php @@ -142,7 +142,7 @@ test('tenant parameter is set for all routes as the default parameter once the t expect(tenant('id'))->toBe('acme'); // assert that the route WITHOUT the tenant parameter matches the route WITH the tenant parameter - expect(route('baz', ['a' => 1, 'b' => 2]))->toBe(route('baz', ['tenant' => acme, 'a' => 1, 'b' => 2])); + expect(route('baz', ['a' => 1, 'b' => 2]))->toBe(route('baz', ['tenant' => 'acme', 'a' => 1, 'b' => 2])); expect(route('baz', ['a' => 1, 'b' => 2]))->toBe('http://localhost/acme/baz/1/2'); // assert the full route string pest()->get(route('baz', ['a' => 1, 'b' => 2]))->assertOk(); // Assert route don't need tenant parameter