Tests/Unit/DocumentManager/DocumentManagerTest.php 1 location
|
@@ 23-29 (lines=7) @@
|
| 20 |
|
]; |
| 21 |
|
|
| 22 |
|
|
| 23 |
|
protected function setUp() |
| 24 |
|
{ |
| 25 |
|
$logger = new NullLogger(); |
| 26 |
|
$this->manager = new DocumentManager($this->config, $logger); |
| 27 |
|
$this->manager->removeAll("Foo"); |
| 28 |
|
$this->manager->removeAll("FooFind"); |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
protected function tearDown() |
| 32 |
|
{ |
Tests/Unit/Repository/RepositoryTest.php 1 location
|
@@ 23-30 (lines=8) @@
|
| 20 |
|
"options" => [] |
| 21 |
|
]; |
| 22 |
|
|
| 23 |
|
protected function setUp() |
| 24 |
|
{ |
| 25 |
|
$logger = new NullLogger(); |
| 26 |
|
$this->manager = new DocumentManager($this->config, $logger); |
| 27 |
|
$this->repository = $this->manager->getRepository("Foo"); |
| 28 |
|
$this->manager->removeAll("Foo"); |
| 29 |
|
|
| 30 |
|
} |
| 31 |
|
|
| 32 |
|
protected function tearDown() |
| 33 |
|
{ |