diff --git a/projects/packages/waf/tests/php/integration/test-waf-blocklog-manager.php b/projects/packages/waf/tests/php/integration/test-waf-blocklog-manager.php index f3f3a7071688c..d1e0b9ba59b96 100644 --- a/projects/packages/waf/tests/php/integration/test-waf-blocklog-manager.php +++ b/projects/packages/waf/tests/php/integration/test-waf-blocklog-manager.php @@ -29,7 +29,7 @@ protected function set_up() { Waf_Constants::define_share_data(); // Simulate a blocklog entry to trigger option update - $test_rule_id = 1; + $test_rule_id = '1'; $test_reason = 'Test block reason for file'; Waf_Blocklog_Manager::write_blocklog( $test_rule_id, $test_reason ); }