Skip to content

Commit

Permalink
Add missing Fixture files, 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 8d542b4
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
Binary file added tests/Fixtures/dummy.pdf
Binary file not shown.
Binary file added tests/Fixtures/success-kid.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d542b4

Please sign in to comment.