Extends
lithium\test\UnitSource
public function testNoArchive() {
$this->skipIf(
ini_get('phar.readonly') == '1',
'INI setting phar.readonly = On'
);
$result = $this->library->archive(
$this->_testPath . '/library_test_plugin',
$this->_testPath . '/library_test_plugin'
);
$this->assertFalse($result);
$expected = "/Could not create archive from/";
$result = $this->library->response->error;
$this->assertPattern($expected, $result);
}