From 05360d212d5648b3ec9bff389e2c79834fd072a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Perona?= Date: Wed, 11 Sep 2024 09:57:40 -0400 Subject: [PATCH] update test --- .../Subscriber/add_hashes_when_allowed.php | 2 +- .../Subscriber/html/expected_allowed.php | 65 ------------------- 2 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 tests/Fixtures/inc/Engine/Optimization/LazyRenderContent/Frontend/Subscriber/html/expected_allowed.php diff --git a/tests/Fixtures/inc/Engine/Optimization/LazyRenderContent/Frontend/Subscriber/add_hashes_when_allowed.php b/tests/Fixtures/inc/Engine/Optimization/LazyRenderContent/Frontend/Subscriber/add_hashes_when_allowed.php index 6575257283..6a3ce9ca9a 100644 --- a/tests/Fixtures/inc/Engine/Optimization/LazyRenderContent/Frontend/Subscriber/add_hashes_when_allowed.php +++ b/tests/Fixtures/inc/Engine/Optimization/LazyRenderContent/Frontend/Subscriber/add_hashes_when_allowed.php @@ -43,7 +43,7 @@ 'html' => file_get_contents( WP_ROCKET_TESTS_FIXTURES_DIR . '/inc/Engine/Optimization/LazyRenderContent/Frontend/Subscriber/html/original.php' ), ], 'expected' => [ - 'html' => file_get_contents( WP_ROCKET_TESTS_FIXTURES_DIR . '/inc/Engine/Optimization/LazyRenderContent/Frontend/Subscriber/html/expected_allowed.php' ), + 'html' => file_get_contents( WP_ROCKET_TESTS_FIXTURES_DIR . '/inc/Engine/Optimization/LazyRenderContent/Frontend/Subscriber/html/expected.php' ), ], ], ], diff --git a/tests/Fixtures/inc/Engine/Optimization/LazyRenderContent/Frontend/Subscriber/html/expected_allowed.php b/tests/Fixtures/inc/Engine/Optimization/LazyRenderContent/Frontend/Subscriber/html/expected_allowed.php deleted file mode 100644 index e71f80955c..0000000000 --- a/tests/Fixtures/inc/Engine/Optimization/LazyRenderContent/Frontend/Subscriber/html/expected_allowed.php +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - -
400px -
800 px -































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































- 1800 px
Testing something
-
-
- -
-
-
-
- This is a class with margin-top set to 3000px -
-
-
-
- -
-
-
- This is a class with margin-top set to 1800px -
-
-
- - - -