Dropped dupe test
This commit is contained in:
parent
aea1bae3bf
commit
f62d12f35b
1 changed files with 0 additions and 17 deletions
|
@ -178,23 +178,6 @@ namespace
|
|||
new Pickles\Router();
|
||||
}
|
||||
|
||||
public function testMisconfiguredAuth()
|
||||
{
|
||||
$response = json_encode([
|
||||
'meta' => [
|
||||
'status' => 401,
|
||||
'message' => 'Authentication is not configured properly.',
|
||||
],
|
||||
]);
|
||||
|
||||
$this->expectOutputString($response);
|
||||
|
||||
$_SERVER['REQUEST_METHOD'] = 'DELETE';
|
||||
$_REQUEST['request'] = 'v1/resource/1';
|
||||
|
||||
new Pickles\Router();
|
||||
}
|
||||
|
||||
public function testMethodNotAllowed()
|
||||
{
|
||||
$response = json_encode([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue