Skip to content

Commit 7f31a28

Browse files
committed
fix: fix tests
fix: fix tests again fix: tests fix: finally fix all tests
1 parent d50e18c commit 7f31a28

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

routes/web.php

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
'name' => $name,
3838
'php' => $php,
3939
'with' => $with,
40+
'starter-kit' => $starterKit,
4041
],
4142
[
4243
'name' => 'string|alpha_dash',

tests/Feature/SailServerTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function test_it_can_return_the_sail_install_script()
1717

1818
$response->assertStatus(200);
1919
$response->assertSee("laravelsail/php84-composer:latest");
20-
$response->assertSee('bash -c "laravel new example-app --no-interaction && cd example-app && php ./artisan sail:install --with=mysql,redis,meilisearch,mailpit,selenium "', false);
20+
$response->assertSee('bash -c "laravel new example-app --no-interaction && cd example-app && php ./artisan sail:install --with=mysql,redis,meilisearch,mailpit,selenium "', false);
2121
}
2222

2323
public function test_different_php_versions_can_be_picked()
@@ -58,15 +58,15 @@ public function test_it_removes_duplicated_valid_services()
5858
$response = $this->get('/example-app?with=redis,redis');
5959

6060
$response->assertStatus(200);
61-
$response->assertSee('bash -c "laravel new example-app --no-interaction && cd example-app && php ./artisan sail:install --with=redis "', false);
61+
$response->assertSee('bash -c "laravel new example-app --no-interaction && cd example-app && php ./artisan sail:install --with=redis "', false);
6262
}
6363

6464
public function test_it_adds_the_devcontainer_upon_request()
6565
{
6666
$response = $this->get('/example-app?with=pgsql&devcontainer');
6767

6868
$response->assertStatus(200);
69-
$response->assertSee('bash -c "laravel new example-app --no-interaction && cd example-app && php ./artisan sail:install --with=pgsql --devcontainer "', false);
69+
$response->assertSee('bash -c "laravel new example-app --no-interaction && cd example-app && php ./artisan sail:install --with=pgsql --devcontainer "', false);
7070
}
7171

7272
public function test_it_does_not_accepts_domains_with_a_dot()

0 commit comments

Comments
 (0)