Skip to content

Commit

Permalink
Move Fixture files out of php namespace, and update Config method
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispenny committed Jun 29, 2023
1 parent 9eb4559 commit af4a9c7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Extensions/SwiftypeFileCrawlerExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function setUp(): void
$crawlerExtension->clearCacheAll();

// Set our config to not clear caches after un/publish, so that we can easily fetch the Urls for our test
Config::inst()->update(
Config::inst()->set(
SwiftypeFileCrawlerExtension::class,
'clear_cache_disabled',
true
Expand Down Expand Up @@ -253,7 +253,7 @@ public function testUrlsToCrawlSegmentChanged(): void
public function testUrlsToCrawlCacheCleared(): void
{
// Since asserting cache is cleared we want to reenable cache for this test.
Config::inst()->update(
Config::inst()->set(
SwiftypeFileCrawlerExtension::class,
'clear_cache_disabled',
false
Expand Down
File renamed without changes.
File renamed without changes

0 comments on commit af4a9c7

Please sign in to comment.