HM\BackUpWordPress\Test_Backup_Path::testUnwritableCustomPath PHP Метод

testUnwritableCustomPath() публичный Метод

Unwritable or otherwide broken custom paths should be ignored
    public function testUnwritableCustomPath()
    {
        $this->path->set_path('/' . rand());
        if (wp_is_writable($this->custom_path)) {
            $this->markTestSkipped('The custom path was still writable');
        }
        $this->assertEquals(Path::get_path(), $this->path->get_default_path());
        $this->assertFileExists($this->path->get_default_path());
    }