Skip to content

Commit

Permalink
MINOR Fixed SQL quoting bug in FolderTest (caused by r111493) (from r…
Browse files Browse the repository at this point in the history
…111496)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112916 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
Sam Minnee committed Oct 19, 2010
1 parent d542ddb commit d6c1d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/filesystem/FolderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function testFindOrMakeFolderThenMove() {
* 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();
Expand Down

0 comments on commit d6c1d3b

Please sign in to comment.