Update SettingsControllerTest.php
adapted test for grammar change of URL
This commit is contained in:
parent
8370111cf4
commit
b24b5bd297
|
@ -189,6 +189,6 @@ class SettingsControllerTest extends TestCase {
|
||||||
$result = $this->settingsController->addClient('test', 'invalidurl');
|
$result = $this->settingsController->addClient('test', 'invalidurl');
|
||||||
|
|
||||||
$this->assertEquals(Http::STATUS_BAD_REQUEST, $result->getStatus());
|
$this->assertEquals(Http::STATUS_BAD_REQUEST, $result->getStatus());
|
||||||
$this->assertSame(['message' => 'Your redirect url needs to be a full url for example: https://yourdomain.com/path'], $result->getData());
|
$this->assertSame(['message' => 'Your redirect URL needs to be a full URL for example: https://yourdomain.com/path'], $result->getData());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue