| @@ 49-57 (lines=9) @@ | ||
| 46 | /** |
|
| 47 | * @expectedException \eZ\Publish\Core\Base\Exceptions\InvalidArgumentValue |
|
| 48 | */ |
|
| 49 | public function testFindUrlsNonNumericOffset() |
|
| 50 | { |
|
| 51 | $this->configureUrlViewPermission(true); |
|
| 52 | ||
| 53 | $query = new URLQuery(); |
|
| 54 | $query->offset = 'foo'; |
|
| 55 | ||
| 56 | $this->createUrlService()->findUrls($query); |
|
| 57 | } |
|
| 58 | ||
| 59 | /** |
|
| 60 | * @expectedException \eZ\Publish\Core\Base\Exceptions\InvalidArgumentValue |
|
| @@ 62-70 (lines=9) @@ | ||
| 59 | /** |
|
| 60 | * @expectedException \eZ\Publish\Core\Base\Exceptions\InvalidArgumentValue |
|
| 61 | */ |
|
| 62 | public function testFindUrlsNonNumericLimit() |
|
| 63 | { |
|
| 64 | $this->configureUrlViewPermission(true); |
|
| 65 | ||
| 66 | $query = new URLQuery(); |
|
| 67 | $query->limit = 'foo'; |
|
| 68 | ||
| 69 | $this->createUrlService()->findUrls($query); |
|
| 70 | } |
|
| 71 | ||
| 72 | public function testFindUrls() |
|
| 73 | { |
|