* Remove Google Analytics #728 * Remove config file * Don't set the vacentral url
This commit is contained in:
@@ -36,7 +36,8 @@ class ApiTest extends TestCase
|
||||
$uri = '/api/user';
|
||||
|
||||
// Missing auth header
|
||||
$this->get($uri)->assertStatus(401);
|
||||
$res = $this->get($uri);
|
||||
$res->assertStatus(401);
|
||||
|
||||
// Test invalid API key
|
||||
$this->withHeaders(['Authorization' => 'invalidKey'])->get($uri)
|
||||
|
||||
Reference in New Issue
Block a user