Skip to content

Commit e4695ee

Browse files
committed
Fix EntityidControllerTest
1 parent 132d678 commit e4695ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Feature/Http/Controllers/EntityidControllerTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ public function missing_company_id_returns_bad_request_response(): void
2323
#[Test]
2424
public function organization_not_found_returns_not_found_response(): void
2525
{
26+
DirectoryEmulator::setup();
27+
2628
$this
2729
->get(route('api:entityid', ['ico' => '123']))
2830
->assertNotFound();
31+
32+
DirectoryEmulator::tearDown();
2933
}
3034

3135
#[Test]

0 commit comments

Comments
 (0)