Skip to content

Commit

Permalink
Renamed files to not conflict with previous tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dpanta94 committed Jun 5, 2024
1 parent 758f298 commit 4ecb5b5
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
Empty file added tests/_data/js/fake1.js
Empty file.
Empty file added tests/_data/js/fake1.min.js
Empty file.
6 changes: 3 additions & 3 deletions tests/wpunit/AssetsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ public function it_should_register_multiple_assets() {
* @test
*/
public function it_should_locate_minified_versions_of_external_assets() {
Asset::add( 'fake-script', 'fake.js' )->register();
Asset::add( 'fake-style', 'fake.css' )->register();
Asset::add( 'fake1-script', 'fake1.js' )->register();
Asset::add( 'fake1-style', 'fake1.css' )->register();
Asset::add( 'fake2-script', 'fake2.js' )->register();
Asset::add( 'fake2-style', 'fake2.css' )->register();
Asset::add( 'fake3-script', 'fake3.js' )->register();
Asset::add( 'fake3-style', 'fake3.css' )->register();

$slugs = [
'fake' => [ true, false ],
'fake1' => [ true, false ],
'fake2' => [ false, false ],
'fake3' => [ true, true ]
];
Expand Down

0 comments on commit 4ecb5b5

Please sign in to comment.