mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed FileTest for changes to getFileType() on the File class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64362 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
74fd64b6d0
commit
a0c4ddfa4b
@ -66,7 +66,7 @@ class FileTest extends SapphireTest {
|
||||
|
||||
function testFileType() {
|
||||
$file = $this->objFromFixture('File', 'gif');
|
||||
$this->assertEquals("GIF Image - good for diagrams", $file->FileType);
|
||||
$this->assertEquals("GIF image - good for diagrams", $file->FileType);
|
||||
|
||||
$file = $this->objFromFixture('File', 'pdf');
|
||||
$this->assertEquals("Adobe Acrobat PDF file", $file->FileType);
|
||||
|
Loading…
Reference in New Issue
Block a user