| @@ 294-303 (lines=10) @@ | ||
| 291 | $this->assertFalse($postC->canPublish($visitor)); |
|
| 292 | } |
|
| 293 | ||
| 294 | public function testFilteredCategoriesRoot() |
|
| 295 | { |
|
| 296 | $blog = $this->objFromFixture(Blog::class, 'FirstBlog'); |
|
| 297 | $controller = new BlogController($blog); |
|
| 298 | $this->requestURL($controller, 'first-post'); |
|
| 299 | $this->assertIDsEquals( |
|
| 300 | $blog->AllChildren()->column('ID'), |
|
| 301 | $controller->PaginatedList()->column('ID') |
|
| 302 | ); |
|
| 303 | } |
|
| 304 | ||
| 305 | public function testFilteredCategoriesRSS() |
|
| 306 | { |
|
| @@ 305-314 (lines=10) @@ | ||
| 302 | ); |
|
| 303 | } |
|
| 304 | ||
| 305 | public function testFilteredCategoriesRSS() |
|
| 306 | { |
|
| 307 | $blog = $this->objFromFixture(Blog::class, 'FirstBlog'); |
|
| 308 | $controller = new BlogController($blog); |
|
| 309 | $this->requestURL($controller, 'first-post/rss'); |
|
| 310 | $this->assertIDsEquals( |
|
| 311 | $blog->AllChildren()->column('ID'), |
|
| 312 | $controller->PaginatedList()->column('ID') |
|
| 313 | ); |
|
| 314 | } |
|
| 315 | ||
| 316 | public function testFilteredCategoriesTags() |
|
| 317 | { |
|