Skip to content

Commit b024682

Browse files
authored
add valkey support (#28)
* add valkey support * fix tests
1 parent 9a4fc77 commit b024682

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

routes/web.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
'pgsql',
1616
'mariadb',
1717
'redis',
18+
'valkey',
1819
'memcached',
1920
'meilisearch',
2021
'typesense',

tests/Feature/SailServerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,22 +89,22 @@ public function test_it_does_not_accept_empty_with_query_when_present()
8989
$response = $this->get('/example-app?with');
9090

9191
$response->assertStatus(400);
92-
$response->assertSee('Invalid service name. Please provide one or more of the supported services (mysql, pgsql, mariadb, redis, memcached, meilisearch, typesense, minio, mailpit, selenium, soketi) or "none".', false);
92+
$response->assertSee('Invalid service name. Please provide one or more of the supported services (mysql, pgsql, mariadb, redis, valkey, memcached, meilisearch, typesense, minio, mailpit, selenium, soketi) or "none".', false);
9393
}
9494

9595
public function test_it_does_not_accept_invalid_services()
9696
{
9797
$response = $this->get('/example-app?with=redis,invalid_service_name');
9898

9999
$response->assertStatus(400);
100-
$response->assertSee('Invalid service name. Please provide one or more of the supported services (mysql, pgsql, mariadb, redis, memcached, meilisearch, typesense, minio, mailpit, selenium, soketi) or "none".', false);
100+
$response->assertSee('Invalid service name. Please provide one or more of the supported services (mysql, pgsql, mariadb, redis, valkey, memcached, meilisearch, typesense, minio, mailpit, selenium, soketi) or "none".', false);
101101
}
102102

103103
public function test_it_does_not_accept_none_with_other_services()
104104
{
105105
$response = $this->get('/example-app?with=none,redis');
106106

107107
$response->assertStatus(400);
108-
$response->assertSee('Invalid service name. Please provide one or more of the supported services (mysql, pgsql, mariadb, redis, memcached, meilisearch, typesense, minio, mailpit, selenium, soketi) or "none".', false);
108+
$response->assertSee('Invalid service name. Please provide one or more of the supported services (mysql, pgsql, mariadb, redis, valkey, memcached, meilisearch, typesense, minio, mailpit, selenium, soketi) or "none".', false);
109109
}
110110
}

0 commit comments

Comments
 (0)