We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PERFLAB_PLACE_OBJECT_CACHE_DROPIN
1 parent d371a8d commit d228f28Copy full SHA for d228f28
plugins/performance-lab/tests/test-load.php
@@ -7,6 +7,17 @@
7
8
class Test_Load extends WP_UnitTestCase {
9
10
+ /**
11
+ * Runs the routine before each test is executed.
12
+ */
13
+ public function set_up(): void {
14
+ parent::set_up();
15
+
16
+ if ( ! defined( 'PERFLAB_PLACE_OBJECT_CACHE_DROPIN' ) ) {
17
+ define( 'PERFLAB_PLACE_OBJECT_CACHE_DROPIN', true );
18
+ }
19
20
21
public function test_perflab_get_generator_content(): void {
22
$expected = 'performance-lab ' . PERFLAB_VERSION . '; plugins: ';
23
$content = perflab_get_generator_content();
0 commit comments