Skip to content

Commit

Permalink
Use generic saver/searcher
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jul 14, 2020
1 parent 93af1c7 commit 942e682
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Controller/ImportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function setUp()
$this->import = $di['importController'];
$this->app = $di['app'];

$this->profiles = $di['searcher.mongo'];
$this->profiles = $di['searcher'];
$this->profiles->truncate();
}

Expand Down
4 changes: 2 additions & 2 deletions tests/Controller/RunTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public function setUp()
$this->import = $di['importController'];
$this->runs = $di['runController'];
$this->app = $di['app'];
$this->profiles = $di['searcher.mongo'];
$this->profiles = $di['searcher'];
$this->profiles->truncate();
$this->saver = $di['saver.mongo'];
$this->saver = $di['saver'];
}

public function testIndexEmpty()
Expand Down

0 comments on commit 942e682

Please sign in to comment.