Issue #3133103 by longwave: InstallerCustomConfigDirectoryCreateTest has bad assertions
parent
73e9c15df6
commit
6f4f6402c4
|
@ -38,11 +38,11 @@ class InstallerCustomConfigDirectoryCreateTest extends InstallerTestBase {
|
||||||
public function testInstaller() {
|
public function testInstaller() {
|
||||||
$this->assertUrl('user/1');
|
$this->assertUrl('user/1');
|
||||||
$this->assertResponse(200);
|
$this->assertResponse(200);
|
||||||
$this->assertDirectoryExists($this->publicFilesDirectory . '/config_custom') && is_dir($this->publicFilesDirectory . '/config_custom');
|
$this->assertDirectoryExists($this->publicFilesDirectory . '/config_custom');
|
||||||
|
|
||||||
// Ensure the sync directory also exists.
|
// Ensure the sync directory also exists.
|
||||||
$sync_directory = Settings::get('config_sync_directory');
|
$sync_directory = Settings::get('config_sync_directory');
|
||||||
$this->assertDirectoryExists($sync_directory) && is_dir($sync_directory);
|
$this->assertDirectoryExists($sync_directory);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue