Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit d78f725

Browse files
committed
Remove validation test
1 parent 361d71f commit d78f725

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

tests/GlobalMiddlewareTest.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -232,26 +232,4 @@ public function testValidationException()
232232
$this->assertEquals('http://localhost', $crawler->headers->get('Access-Control-Allow-Origin'));
233233
$this->assertEquals(302, $crawler->getStatusCode());
234234
}
235-
236-
public function testInvalidExposedHeadersException()
237-
{
238-
$this->expectException(\RuntimeException::class);
239-
240-
$this->app['config']->set('cors.exposed_headers', true);
241-
242-
$this->call('POST', 'api/validation', [], [], [], [
243-
'HTTP_ORIGIN' => 'http://localhost',
244-
]);
245-
}
246-
247-
public function testInvalidOriginsException()
248-
{
249-
$this->expectException(\RuntimeException::class);
250-
251-
$this->app['config']->set('cors.allowed_origins', true);
252-
253-
$this->call('POST', 'api/validation', [], [], [], [
254-
'HTTP_ORIGIN' => 'http://localhost',
255-
]);
256-
}
257235
}

0 commit comments

Comments
 (0)