| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 22 | public function setUp(): void |
||
| 23 | { |
||
| 24 | $this->app = $this->makeApp(); |
||
| 25 | $key = $this->app->get(EncrypterFactory::class)->generateKey(); |
||
| 26 | |||
| 27 | $this->app = $this->makeApp([ |
||
| 28 | 'ENCRYPTER_KEY' => $key, |
||
| 29 | 'CYCLE_AUTH' => true |
||
| 30 | ]); |
||
| 31 | |||
| 32 | $this->app->console()->run('cycle:sync'); |
||
| 33 | |||
| 34 | $this->http = $this->app->get(Http::class); |
||
| 35 | } |
||
| 62 |