Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiSetPublicPartial::testApiSetPublic_SetsPublic_WhenDirectoryDoesExist_WhenNodeIsPublic PHP Метод

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

    public function testApiSetPublic_SetsPublic_WhenDirectoryDoesExist_WhenNodeIsPublic()
    {
        $test = $this->getTest();
        $fs = $this->createFilesystem();
        $test->assertEquals(Filesystem::VISIBILITY_PUBLIC, $fs->getVisibility($this->getPrefixed('DIR_A')));
        $fs->setPublic($this->getPrefixed('DIR_A'));
        $test->assertEquals(Filesystem::VISIBILITY_PUBLIC, $fs->getVisibility($this->getPrefixed('DIR_A')));
    }