@@ -32,8 +32,8 @@ discard block |
||
| 32 | 32 | $folder = $page->RootFolder(); |
| 33 | 33 | |
| 34 | 34 | $this->assertEquals($page->URLSegment, $folder->Name, 'Page URLSegment and Folder Title should be the same'); |
| 35 | - $path = $root = Config::inst()->get(RootFolder::class, 'folder_root') . '/' |
|
| 36 | - . $page->URLSegment . '/'; |
|
| 35 | + $path = $root = Config::inst()->get(RootFolder::class, 'folder_root').'/' |
|
| 36 | + . $page->URLSegment.'/'; |
|
| 37 | 37 | |
| 38 | 38 | $this->assertEquals( |
| 39 | 39 | 'create-page-test', |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | $this->assertEquals( |
| 90 | 90 | 0, |
| 91 | 91 | $page->RootFolderID, |
| 92 | - 'Ignored page type ' . $type . ' should not have a RootFolderID' |
|
| 92 | + 'Ignored page type '.$type.' should not have a RootFolderID' |
|
| 93 | 93 | ); |
| 94 | 94 | } |
| 95 | 95 | } |
@@ -136,14 +136,14 @@ discard block |
||
| 136 | 136 | $this->assertEquals($parent->ID, $child->ParentID, 'subpage should be a child of parentpage'); |
| 137 | 137 | |
| 138 | 138 | $this->assertStringEndsWith( |
| 139 | - $child->RootFolder()->Name . '/', |
|
| 139 | + $child->RootFolder()->Name.'/', |
|
| 140 | 140 | $child->getRootFolderName(), |
| 141 | 141 | 'FolderName should be at the end of getRootFolderName()' |
| 142 | 142 | ); |
| 143 | 143 | |
| 144 | 144 | $root = Config::inst()->get(RootFolder::class, 'folder_root'); |
| 145 | 145 | $this->assertStringStartsWith( |
| 146 | - $root . '/' . $parent->RootFolder()->Name, |
|
| 146 | + $root.'/'.$parent->RootFolder()->Name, |
|
| 147 | 147 | $child->getRootFolderName(), |
| 148 | 148 | 'Parents FolderName should be at the beginning of getRootFolderName()' |
| 149 | 149 | ); |