Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function testLicenseListenerFails(): void |
||
18 | { |
||
19 | $client = self::createClient(['environment' => 'prod'], ['HTTP_AUTHORIZATION' => 'Bearer '.$this->getTenantJWTCode('not_whitelisted')]); |
||
20 | |||
21 | $client->request('GET', '/protected/license-route'); |
||
22 | $this->assertResponseRedirects('/protected/unlicensed'); |
||
23 | } |
||
33 |