@@ 1426-1428 (lines=3) @@ | ||
1423 | // Assert headers were passed |
|
1424 | $this->assertEquals('GET, POST', $this->klein_app->response()->headers()->get('Allow')); |
|
1425 | ||
1426 | foreach ($access_control_headers as $header) { |
|
1427 | $this->assertEquals($header['val'], $this->klein_app->response()->headers()->get($header['key'])); |
|
1428 | } |
|
1429 | } |
|
1430 | ||
1431 | public function testHeadDefaultRequest() |
|
@@ 1476-1478 (lines=3) @@ | ||
1473 | $this->expectOutputString(''); |
|
1474 | ||
1475 | // Assert headers were passed |
|
1476 | foreach ($expected_headers as $header) { |
|
1477 | $this->assertEquals($header['val'], $this->klein_app->response()->headers()->get($header['key'])); |
|
1478 | } |
|
1479 | } |
|
1480 | ||
1481 | public function testHeadMethodMatch() |