Skip to content

Commit aa10ac9

Browse files
committed
Remove unused variables
1 parent 8438c02 commit aa10ac9

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

tests/phpunit/integration/tests/Renderer/Stories/Carousel_Renderer.php

-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ public function set_up(): void {
7474
* @covers ::load_assets
7575
*/
7676
public function test_init(): void {
77-
78-
$wp_version = get_bloginfo( 'version' );
7977
$this->story_query->method( 'get_story_attributes' )->willReturn(
8078
[
8179
'view_type' => 'carousel',

tests/phpunit/integration/tests/Renderer/Stories/Generic_Renderer.php

-4
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ public function tear_down(): void {
8686
* @covers ::load_assets
8787
*/
8888
public function test_load_assets(): void {
89-
90-
$wp_version = get_bloginfo( 'version' );
9189
$this->story_query->method( 'get_story_attributes' )->willReturn(
9290
[
9391
'class' => '',
@@ -106,8 +104,6 @@ public function test_load_assets(): void {
106104
* @covers ::render
107105
*/
108106
public function test_render(): void {
109-
110-
$wp_version = get_bloginfo( 'version' );
111107
$this->story_query->method( 'get_story_attributes' )->willReturn(
112108
[
113109
'view_type' => 'grid',

0 commit comments

Comments
 (0)