From 0b3897b8c3aca2382baed97316f504330762a081 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 12 Jun 2025 21:19:12 +0200 Subject: [PATCH] [ticket/17519] Adapt wrapper test for master PHPBB-17519 --- tests/cron/wrapper_test.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/cron/wrapper_test.php b/tests/cron/wrapper_test.php index aca299782d..ae07c76d4a 100644 --- a/tests/cron/wrapper_test.php +++ b/tests/cron/wrapper_test.php @@ -23,11 +23,8 @@ class phpbb_cron_wrapper_test extends phpbb_template_template_test_case { global $phpbb_root_path; - // Test the engine can be used $this->setup_engine([], $phpbb_root_path . 'styles/all/template'); - $this->template->clear_cache(); - global $phpbb_filesystem; $phpbb_filesystem = new \phpbb\filesystem\filesystem(); @@ -38,8 +35,6 @@ class phpbb_cron_wrapper_test extends phpbb_template_template_test_case $this->wrapper = new \phpbb\cron\task\wrapper( $this->task, $this->routing_helper, - '/phpbb/', - 'php', $this->template ); } @@ -62,8 +57,6 @@ class phpbb_cron_wrapper_test extends phpbb_template_template_test_case $this->wrapper = new \phpbb\cron\task\wrapper( $this->task, $this->routing_helper, - '/phpbb/', - 'php', $this->template ); @@ -100,8 +93,6 @@ class phpbb_cron_wrapper_test extends phpbb_template_template_test_case $this->wrapper = new \phpbb\cron\task\wrapper( $this->task, $this->routing_helper, - '/phpbb/', - 'php', $this->template ); @@ -127,8 +118,6 @@ class phpbb_cron_wrapper_test extends phpbb_template_template_test_case $this->wrapper = new \phpbb\cron\task\wrapper( $this->task, $this->routing_helper, - '/phpbb/', - 'php', $this->template ); $this->task->expects($this->once())