| @@ 272-281 (lines=10) @@ | ||
| 269 | $this->assertFalse($postC->canPublish($visitor)); |
|
| 270 | } |
|
| 271 | ||
| 272 | public function testFilteredCategoriesRoot() |
|
| 273 | { |
|
| 274 | $blog = $this->objFromFixture(Blog::class, 'FirstBlog'); |
|
| 275 | $controller = new BlogController($blog); |
|
| 276 | $this->requestURL($controller, 'first-post'); |
|
| 277 | $this->assertIDsEquals( |
|
| 278 | $blog->AllChildren()->column('ID'), |
|
| 279 | $controller->PaginatedList()->column('ID') |
|
| 280 | ); |
|
| 281 | } |
|
| 282 | ||
| 283 | public function testFilteredCategoriesRSS() |
|
| 284 | { |
|
| @@ 283-292 (lines=10) @@ | ||
| 280 | ); |
|
| 281 | } |
|
| 282 | ||
| 283 | public function testFilteredCategoriesRSS() |
|
| 284 | { |
|
| 285 | $blog = $this->objFromFixture(Blog::class, 'FirstBlog'); |
|
| 286 | $controller = new BlogController($blog); |
|
| 287 | $this->requestURL($controller, 'first-post/rss'); |
|
| 288 | $this->assertIDsEquals( |
|
| 289 | $blog->AllChildren()->column('ID'), |
|
| 290 | $controller->PaginatedList()->column('ID') |
|
| 291 | ); |
|
| 292 | } |
|
| 293 | ||
| 294 | public function testFilteredCategoriesTags() |
|
| 295 | { |
|