Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
53 | public function testConstructor() |
||
54 | { |
||
55 | Config::modify()->set(Fetcher::class . '.' . $this->importerKey, 'apiKey', 'API_KEY'); |
||
56 | Config::modify()->set(Fetcher::class . '.' . $this->importerKey, 'channel', 'CHANNEL'); |
||
57 | |||
58 | $fetcher = new Fetcher($this->importerKey); |
||
59 | $this->assertInstanceOf(Fetcher::class, $fetcher); |
||
60 | } |
||
62 |