| @@ 41-52 (lines=12) @@ | ||
| 38 | self::assertSame($managerName, $record->getManagerName()); |
|
| 39 | } |
|
| 40 | ||
| 41 | protected function setUp() |
|
| 42 | { |
|
| 43 | parent::setUp(); |
|
| 44 | $wrapper = new Connection(false); |
|
| 45 | ||
| 46 | $manager = new Records(); |
|
| 47 | $manager->setDB($wrapper); |
|
| 48 | $manager->setTable('pages'); |
|
| 49 | ||
| 50 | $this->object = new Record(); |
|
| 51 | $this->object->setManager($manager); |
|
| 52 | } |
|
| 53 | } |
|
| 54 | ||
| @@ 39-50 (lines=12) @@ | ||
| 36 | static::assertSame($users, $relation->getWith()); |
|
| 37 | } |
|
| 38 | ||
| 39 | protected function setUp() |
|
| 40 | { |
|
| 41 | parent::setUp(); |
|
| 42 | $wrapper = new Connection(false); |
|
| 43 | ||
| 44 | $manager = new Records(); |
|
| 45 | $manager->setDB($wrapper); |
|
| 46 | $manager->setTable('pages'); |
|
| 47 | ||
| 48 | $this->object = new Record(); |
|
| 49 | $this->object->setManager($manager); |
|
| 50 | } |
|
| 51 | } |
|
| 52 | ||