зеркало из https://github.com/nextcloud/news.git
curl installation to test if it is set up
This commit is contained in:
Родитель
a600f6b718
Коммит
5c70396a43
|
@ -46,6 +46,7 @@ before_script:
|
|||
- cd owncloud
|
||||
- ocdev ci $DB
|
||||
- php -f console.php app:enable news
|
||||
- curl http://admin:admin@localhost/owncloud/index.php
|
||||
- cd apps/news/js
|
||||
# install test deps
|
||||
- npm install --deps # npm install needs to run before sudo npm install because otherwise it fails because a tmp file exists in the home dir
|
||||
|
|
|
@ -66,6 +66,7 @@ class ItemMapperTest extends NewsIntegrationTest {
|
|||
|
||||
public function testDeleteOlderThanThresholdTwo() {
|
||||
$this->deleteReadOlderThanThreshold();
|
||||
|
||||
$this->setExpectedException(
|
||||
'OCP\AppFramework\Db\DoesNotExistException');
|
||||
$this->itemMapper->find($this->items['del2']->getId(), $this->userId);
|
||||
|
|
Загрузка…
Ссылка в новой задаче