Skip to content

Commit

Permalink
Update the test
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed Jan 26, 2024
1 parent 8603b86 commit 1ce9098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/StaticCaching/DefaultInvalidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public function it_doesnt_recache_when_background_recache_token_is_disabled()
/** @test */
public function it_recaches_when_background_recache_token_is_enabled()
{
config()->set('statamic.static_caching.background_recache_token', 'some-token');
config()->set('statamic.static_caching.background_recache', true);

$cacher = tap(Mockery::mock(Cacher::class), function ($cacher) {
$cacher->shouldReceive('invalidateUrls')->never();
Expand Down

0 comments on commit 1ce9098

Please sign in to comment.