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 9897e3f commit f9112adCopy full SHA for f9112ad
tests/Foundation/Testing/Concerns/MakesHttpRequestsTest.php
@@ -14,6 +14,13 @@ public function testFromSetsHeaderAndSession()
14
$this->assertSame('previous/url', $this->app['session']->previousUrl());
15
}
16
17
+ public function testBearerTokenSetsHeader()
18
+ {
19
+ $this->withBearerToken('foobar');
20
+
21
+ $this->assertSame('Bearer foobar', $this->defaultHeaders['Authorization']);
22
+ }
23
24
public function testWithoutAndWithMiddleware()
25
{
26
$this->assertFalse($this->app->has('middleware.disable'));
0 commit comments