We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5392d37 commit 2385a49Copy full SHA for 2385a49
tests/Pipe/Test/ManifestTest.php
@@ -26,7 +26,12 @@ function testManifestDumpsAssets()
26
27
$this->assertEquals($digestName, $json["assets"]["asset1.js"]);
28
29
- $this->assertNotEmpty($json["files"][$digestName]);
+ $fileInfo = $json['files'][$digestName];
30
+
31
+ $this->assertArrayHasKey('size', $fileInfo);
32
+ $this->assertArrayHasKey('logical_path', $fileInfo);
33
+ $this->assertArrayHasKey('content_type', $fileInfo);
34
+ $this->assertArrayHasKey('digest', $fileInfo);
35
36
$this->assertTrue($dir->hasChild('manifest.json'));
37
$this->assertTrue($dir->hasChild($digestName));
0 commit comments