Skip to content

Commit

Permalink
Remove unnecessary pacakge-lock.json file from tests/files
Browse files Browse the repository at this point in the history
  • Loading branch information
chrieinv committed Aug 23, 2023
1 parent 4d7b34a commit 1dbfe33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6,414 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public function withRemoteVideo_storeLocally()
$this->assertTrue($zipArchive->open($this->exportDisk->path($archivePath)));
$contentJson = $zipArchive->getFromName('content/content.json');
$zipArchive->extractTo($this->exportDisk->path(sprintf(ContentStorageSettings::EXPORT_PATH, $exportName)));
$this->assertEquals(100, $zipArchive->locateName("content/videos/sampleVideo.mp4"));
$this->assertEquals(99, $zipArchive->locateName("content/videos/sampleVideo.mp4"));
$this->assertJson($contentJson);
$zipArchive->close();
$contentDecoded = json_decode($contentJson);
Expand Down Expand Up @@ -337,8 +337,8 @@ public function withRemoteVideoAndImage_storeLocally()
$this->assertTrue($zipArchive->open($this->exportDisk->path($archivePath)));
$contentJson = $zipArchive->getFromName('content/content.json');
$zipArchive->extractTo($this->exportDisk->path(sprintf(ContentStorageSettings::EXPORT_PATH, $exportName)));
$this->assertEquals(101, $zipArchive->locateName("content/videos/sampleVideo.mp4"));
$this->assertEquals(100, $zipArchive->locateName("content/images/tree.jpg"));
$this->assertEquals(100, $zipArchive->locateName("content/videos/sampleVideo.mp4"));
$this->assertEquals(99, $zipArchive->locateName("content/images/tree.jpg"));
$this->assertJson($contentJson);
$zipArchive->close();
$contentDecoded = json_decode($contentJson);
Expand Down Expand Up @@ -411,8 +411,8 @@ public function withRemoteCaptions_storeLocally()
$this->assertTrue($zipArchive->open($this->exportDisk->path($archivePath)));
$contentJson = $zipArchive->getFromName('content/content.json');
$zipArchive->extractTo($this->exportDisk->path(sprintf(ContentStorageSettings::EXPORT_PATH, $exportName)));
$this->assertEquals(100, $zipArchive->locateName("content/files/videoCaption.vtt"));
$this->assertEquals(101, $zipArchive->locateName("content/videos/sampleVideo.mp4"));
$this->assertEquals(99, $zipArchive->locateName("content/files/videoCaption.vtt"));
$this->assertEquals(100, $zipArchive->locateName("content/videos/sampleVideo.mp4"));
$this->assertJson($contentJson);
$zipArchive->close();
$contentDecoded = json_decode($contentJson);
Expand Down
Loading

0 comments on commit 1dbfe33

Please sign in to comment.