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