/** * * @covers Rating_Log::acted_on() */ public function testActedOn() { $plugins = $this->mock_plugin_paths(); update_option('active_plugins', $plugins); Rating_Log::mark('tests/fake-one.php'); $this->assertTrue(Rating_Log::acted_on('tests/fake-one.php')); $this->assertFalse(Rating_Log::acted_on('tests/fake-two.php')); }