| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | final class GlobalStateTest extends KernelTestCase |
||
| 15 | { |
||
| 16 | use Factories, ResetDatabase; |
||
| 17 | |||
| 18 | protected function setUp(): void |
||
| 22 | } |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @test |
||
| 27 | */ |
||
| 28 | public function tag_story_is_added_as_global_state(): void |
||
| 29 | { |
||
| 30 | TagFactory::repository()->assert()->count(2); |
||
| 31 | TagFactory::repository()->assert()->exists(['name' => 'dev']); |
||
| 32 | TagFactory::repository()->assert()->exists(['name' => 'design']); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @test |
||
| 37 | */ |
||
| 38 | public function ensure_global_story_is_not_loaded_again(): void |
||
| 44 | } |
||
| 45 | } |
||
| 46 |