Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function setUp() |
||
32 | { |
||
33 | |||
34 | $this->k = new AppKernel('test', true); |
||
35 | $this->k->boot(); |
||
36 | $this->container = $this->k->getContainer(); |
||
37 | |||
38 | $logger = new NullLogger(); |
||
39 | $this->manager = new DocumentManager($this->config, $logger); |
||
40 | |||
41 | |||
42 | $this->testRepo = $this->manager->getRepository('Foo'); |
||
43 | $this->testRepo->deleteMany([], []); |
||
44 | $this->testRepo->dropIndexes(); |
||
45 | |||
46 | } |
||
47 | |||
49 |