Skip to content

Commit 48eaa21

Browse files
committed
Clear Cache before Request Analytics Overview Test
1 parent d95b3f0 commit 48eaa21

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/Feature/Api/AnalyticsApiTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ public function it_validates_end_date_before_start_date(): void
126126
#[Test]
127127
public function it_returns_empty_overview_data(): void
128128
{
129+
\Illuminate\Support\Facades\Cache::flush();
130+
129131
$response = $this->getJson(route('request-analytics.api.overview'));
130132

131133
$response->assertOk()

0 commit comments

Comments
 (0)