mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 08:12:17 +01:00
Fix api url
This commit is contained in:
committed by
Constantin Graf
parent
ddf11b394d
commit
d9925d632e
@@ -24,7 +24,7 @@ class SelfHostCheckForUpdateCommandTest extends TestCase
|
||||
{
|
||||
// Arrange
|
||||
Http::fake([
|
||||
'https://app.solidtime.io/api/check-for-update' => Http::response(['version' => '1.2.3'], 200),
|
||||
'https://app.solidtime.io/api/v1/ping/version' => Http::response(['version' => '1.2.3'], 200),
|
||||
]);
|
||||
|
||||
// Act
|
||||
@@ -40,7 +40,7 @@ class SelfHostCheckForUpdateCommandTest extends TestCase
|
||||
{
|
||||
// Arrange
|
||||
Http::fake([
|
||||
'https://app.solidtime.io/api/check-for-update' => Http::response(null, 500),
|
||||
'https://app.solidtime.io/api/v1/ping/version' => Http::response(null, 500),
|
||||
]);
|
||||
|
||||
// Act
|
||||
@@ -56,7 +56,7 @@ class SelfHostCheckForUpdateCommandTest extends TestCase
|
||||
{
|
||||
// Arrange
|
||||
Http::fake([
|
||||
'https://app.solidtime.io/api/check-for-update' => function (): void {
|
||||
'https://app.solidtime.io/api/v1/ping/version' => function (): void {
|
||||
throw new ConnectionException('Connection timed out');
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user