@@ -4,22 +4,22 @@ |
||
| 4 | 4 | |
| 5 | 5 | protected static $fixture_file = 'PrevNextSiblingExtensionTest.yml'; |
| 6 | 6 | |
| 7 | - public function testNextSibling() { |
|
| 8 | - $child1 = $this->objFromFixture('Page', 'child01'); |
|
| 7 | + public function testNextSibling() { |
|
| 8 | + $child1 = $this->objFromFixture('Page', 'child01'); |
|
| 9 | 9 | $child2 = $this->objFromFixture('Page', 'child02'); |
| 10 | 10 | $child3 = $this->objFromFixture('Page', 'child03'); |
| 11 | 11 | $this->assertNull($child3->NextSibling()); |
| 12 | 12 | $this->assertEquals($child2, $child1->NextSibling()); |
| 13 | 13 | $this->assertEquals($child3, $child2->NextSibling()); |
| 14 | - } |
|
| 14 | + } |
|
| 15 | 15 | |
| 16 | - public function testPreviousSibling() { |
|
| 17 | - $child1 = $this->objFromFixture('Page', 'child01'); |
|
| 16 | + public function testPreviousSibling() { |
|
| 17 | + $child1 = $this->objFromFixture('Page', 'child01'); |
|
| 18 | 18 | $this->assertNull($child1->PreviousSibling()); |
| 19 | 19 | $child2 = $this->objFromFixture('Page', 'child02'); |
| 20 | 20 | $this->assertEquals($child1, $child2->PreviousSibling()); |
| 21 | 21 | $child3 = $this->objFromFixture('Page', 'child03'); |
| 22 | 22 | $this->assertEquals($child2, $child3->PreviousSibling()); |
| 23 | - } |
|
| 23 | + } |
|
| 24 | 24 | |
| 25 | 25 | } |