We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de2c938 commit 257d0f8Copy full SHA for 257d0f8
tests/CorsServiceTest.php
@@ -54,6 +54,15 @@ public function itCanHaveEmptyOptions(): void
54
$this->assertEquals([], $this->getOptionsFromService($service)['allowedOrigins']);
55
}
56
57
+ /**
58
+ * @test
59
+ */
60
+ public function itNormalizesFalseExposedHeaders(): void
61
+ {
62
+ $service = new CorsService(['exposedHeaders' => false]);
63
+ $this->assertEquals([], $this->getOptionsFromService($service)['exposedHeaders']);
64
+ }
65
+
66
/**
67
* @test
68
*/
0 commit comments