mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix some issues with tests
This commit is contained in:
parent
c0c219e178
commit
6da36a9ed1
@ -19,3 +19,7 @@ ini_set('display_errors', 1);
|
||||
if(!file_exists(BASE_PATH . '/assets')) {
|
||||
mkdir(BASE_PATH . '/assets', 02775);
|
||||
}
|
||||
|
||||
if (empty($_SERVER['HTTP_HOST'])) {
|
||||
$_SERVER['HTTP_HOST'] = 'localhost';
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ class HTMLEditorConfigTest extends SapphireTest {
|
||||
// Plugin specified with standard location
|
||||
$this->assertContains('plugin4', array_keys($plugins));
|
||||
$this->assertEquals(
|
||||
'http://mysite.com/subdir/framework/admin/thirdparty/tinymce/plugins/plugin4/plugin.min.js',
|
||||
'http://mysite.com/subdir/'.ADMIN_THIRDPARTY_DIR.'/tinymce/plugins/plugin4/plugin.min.js',
|
||||
$plugins['plugin4']
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user