Passed
Pull Request — master (#67)
by Matthieu
05:01
created
Tests/Functional/LicenseListenerTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 {
9 9
     public function testLicenseListenerIsOk(): void
10 10
     {
11
-        $client = self::createClient(['environment' => 'prod'], ['HTTP_AUTHORIZATION' => 'Bearer ' . $this->getTenantJWTCode()]);
11
+        $client = self::createClient(['environment' => 'prod'], ['HTTP_AUTHORIZATION' => 'Bearer '.$this->getTenantJWTCode()]);
12 12
 
13 13
         $client->request('GET', '/protected/license-route');
14 14
         $this->assertResponseIsSuccessful();
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
     public function testLicenseListenerFails(): void
18 18
     {
19
-        $client = self::createClient(['environment' => 'prod'], ['HTTP_AUTHORIZATION' => 'Bearer ' . $this->getTenantJWTCode('not_whitelisted')]);
19
+        $client = self::createClient(['environment' => 'prod'], ['HTTP_AUTHORIZATION' => 'Bearer '.$this->getTenantJWTCode('not_whitelisted')]);
20 20
 
21 21
         $client->request('GET', '/protected/license-route');
22 22
         $this->assertResponseRedirects('/protected/unlicensed');
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
     public function testLicenseListenerWorksInDev(): void
26 26
     {
27
-        $client = self::createClient(['environment' => 'dev'], ['HTTP_AUTHORIZATION' => 'Bearer ' . $this->getTenantJWTCode('not_whitelisted')]);
27
+        $client = self::createClient(['environment' => 'dev'], ['HTTP_AUTHORIZATION' => 'Bearer '.$this->getTenantJWTCode('not_whitelisted')]);
28 28
 
29 29
         $client->request('GET', '/protected/license-route');
30 30
         $this->assertResponseIsSuccessful();
Please login to merge, or discard this patch.
src/Resources/config/services.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 use Symfony\Component\Security\Guard\AbstractGuardAuthenticator;
25 25
 use Twig\Environment;
26 26
 
27
-return static function (ContainerConfigurator $container) {
27
+return static function(ContainerConfigurator $container) {
28 28
     $container->parameters()
29 29
         ->set('atlassian_connect_license_listener_class', LicenseListener::class)
30 30
         ->set('atlassian_connect_jwt_user_provider_class', JWTUserProvider::class)
Please login to merge, or discard this patch.