mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed filesystem case sensitivity in tests
This commit is contained in:
parent
0343a77d30
commit
233198c5cb
@ -87,8 +87,8 @@ class HtmlEditorFieldTest extends FunctionalTest {
|
|||||||
$this->assertEquals('', (string)$xml[0]['title'], 'Title tags are added by default.');
|
$this->assertEquals('', (string)$xml[0]['title'], 'Title tags are added by default.');
|
||||||
$this->assertEquals(10, (int)$xml[0]['width'], 'Width tag of resized image is set.');
|
$this->assertEquals(10, (int)$xml[0]['width'], 'Width tag of resized image is set.');
|
||||||
$this->assertEquals(20, (int)$xml[0]['height'], 'Height tag of resized image is set.');
|
$this->assertEquals(20, (int)$xml[0]['height'], 'Height tag of resized image is set.');
|
||||||
$this->assertEquals('assets/_resampled/resizedimage10x20-HTMLEditorFieldTest_example.jpg', (string)$xml[0]['src'], 'Correct URL of resized image is set.');
|
$this->assertEquals('assets/_resampled/ResizedImage10x20-HTMLEditorFieldTest_example.jpg', (string)$xml[0]['src'], 'Correct URL of resized image is set.');
|
||||||
$this->assertTrue(file_exists('assets/_resampled/resizedimage10x20-HTMLEditorFieldTest_example.jpg'), 'File for resized image exists');
|
$this->assertTrue(file_exists('assets/_resampled/ResizedImage10x20-HTMLEditorFieldTest_example.jpg'), 'File for resized image exists');
|
||||||
$this->assertEquals(false, $obj->HasBrokenFile, 'Referenced image file exists.');
|
$this->assertEquals(false, $obj->HasBrokenFile, 'Referenced image file exists.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user