Skip to content

Commit

Permalink
revert logs as we have the transients already
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuLamiot committed Jun 25, 2024
1 parent eeb8c34 commit 43fbc5d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@
use WP_Rocket\Engine\Preload\Controller\{PreloadUrl, Queue};
use WP_Rocket\Engine\Preload\Database\Queries\Cache;
use WP_Rocket\Tests\Unit\TestCase;

use WP_Rocket\Tests\Unit\HasLoggerTrait;
/**
* Test class covering \WP_Rocket\Engine\Preload\Controller\PreloadUrl::preload_url
*
* @group Preload
*/
class Test_PreloadUrl extends TestCase {
use HasLoggerTrait;

protected $queue;
protected $query;
protected $options;
Expand All @@ -38,6 +40,7 @@ protected function setUp(): void {
$this->file_system,
]
)->shouldAllowMockingProtectedMethods();
$this->set_logger($this->controller);
}

/**
Expand Down

0 comments on commit 43fbc5d

Please sign in to comment.