Skip to content

Commit f92ba90

Browse files
SergeyBiryukovmikachan
authored andcommitted
Coding Standards: Fix a few newly introduced WPCS issues.
Follow-up to [56683], [56689]. See #59161, #58831. git-svn-id: https://develop.svn.wordpress.org/trunk@56692 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 670ab40 commit f92ba90

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

tests/phpunit/tests/blocks/getBlockAssetUrl.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public function test_parent_theme() {
6363
$url = get_block_asset_url( $path );
6464

6565
$this->assertSame( get_template_directory_uri() . '/blocks/example-block/view.js', $url );
66-
6766
}
6867

6968
/**
@@ -76,7 +75,6 @@ public function test_child_theme() {
7675
$url = get_block_asset_url( $path );
7776

7877
$this->assertSame( get_stylesheet_directory_uri() . '/blocks/example-block/view.js', $url );
79-
8078
}
8179

8280
/**
@@ -89,7 +87,6 @@ public function test_plugin() {
8987
$this->assertStringNotContainsString( WP_PLUGIN_DIR, $url, 'The return block asset url should not contain plugin path.' );
9088
$this->assertSame( plugins_url( 'view.js', $path ), $url, 'The return block asset url should match plugin url.' );
9189
$this->assertStringStartsWith( WP_PLUGIN_URL, $url, 'The return block asset url should contain the url that support with the mu plugin url.' );
92-
9390
}
9491

9592
/**
@@ -112,5 +109,4 @@ public function test_empty() {
112109

113110
$this->assertFalse( $url );
114111
}
115-
116112
}

tests/phpunit/tests/filesystem/_unzipFilePclzip.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,4 @@ public function test_should_apply_unzip_file_filters() {
7272

7373
$this->assertSame( 1, $filter->get_call_count() );
7474
}
75-
7675
}

tests/phpunit/tests/filesystem/_unzipFileZiparchive.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,4 @@ public function test_should_apply_unzip_file_filters() {
8080

8181
$this->assertSame( 1, $filter->get_call_count() );
8282
}
83-
8483
}

0 commit comments

Comments
 (0)