Fix failing tests

This commit is contained in:
DaneEveritt 2022-05-29 20:39:51 -04:00
parent a5521ecb79
commit 9300e1116d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 9 additions and 4 deletions

View file

@ -46,8 +46,8 @@ class SSHKeyControllerTest extends ClientApiIntegrationTestCase
$this->assertSoftDeleted($key);
$this->assertNotSoftDeleted($key2);
$this->deleteJson($this->link($key))->assertNoContent();
$this->deleteJson($this->link($key2))->assertNoContent();
$this->deleteJson($this->link($key))->assertNotFound();
$this->deleteJson($this->link($key2))->assertNotFound();
$this->assertNotSoftDeleted($key2);
}

View file

@ -13,6 +13,10 @@ abstract class IntegrationTestCase extends TestCase
protected array $connectionsToTransact = ['mysql'];
protected $defaultHeaders = [
'Accept' => 'application/json',
];
/**
* Return an ISO-8601 formatted timestamp to use in the API response.
*/