mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed SQL quoting bug in FolderTest (caused by r111493)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@111496 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7418600b00
commit
b1bdbdb8f1
@ -143,7 +143,7 @@ class FolderTest extends SapphireTest {
|
||||
* Tests for the bug #5994 - if you don't execute get_by_id prior to the rename or move, it will fail.
|
||||
*/
|
||||
function testRenameFolderAndCheckTheFile() {
|
||||
$folder1 = DataObject::get_one('Folder', 'ID='.$this->idFromFixture('Folder', 'folder1'));
|
||||
$folder1 = DataObject::get_one('Folder', '"ID"='.$this->idFromFixture('Folder', 'folder1'));
|
||||
|
||||
$folder1->Name = 'FileTest-folder1-changed';
|
||||
$folder1->write();
|
||||
|
Loading…
x
Reference in New Issue
Block a user