Code Duplication    Length = 7-8 lines in 2 locations

tests/ApplicationTest.php 1 location

@@ 20-26 (lines=7) @@
17
        $this->assertSame($this->app, $container->get(Application::class));
18
    }
19
20
    public function testAssets()
21
    {
22
        $assets = $this->app->dispatch('module.assets');
23
        $this->assertArrayHasKey('hash', $assets);
24
        $this->assertArrayHasKey('js', $assets);
25
        $this->assertArrayHasKey('test.js', $assets['js']);
26
    }
27
}
28

tests/MetaTest.php 1 location

@@ 9-16 (lines=8) @@
6
7
class MetaTest extends TestSuite
8
{
9
    public function test()
10
    {
11
        $meta = $this->app->dispatch('module.assets');
12
13
        $this->assertArrayHasKey('js', $meta);
14
        $this->assertArrayHasKey('test.js', $meta['js']);
15
        $this->assertArrayHasKey('file.styl', $meta['styl']);
16
    }
17
}
18