| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function setup() |
||
| 15 | { |
||
| 16 | $root = __DIR__.'/../public'; |
||
| 17 | $config = new Config($root); |
||
| 18 | $config->cacheSet(); |
||
| 19 | $this->container = Container::instance($root, $config, $root.'/../config/containers/test-container.yml'); |
||
| 20 | $model = $this->container->get('pubSubModel'); |
||
| 21 | $model->build(); |
||
| 22 | $this->topic = $this->container->get('topic'); |
||
| 23 | $cache = $model->readDiskCache(); |
||
| 24 | $this->topic->cacheSet($cache); |
||
| 25 | } |
||
| 26 | |||
| 42 |