diff options
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | tests/integration/db/ItemMapperTest.php | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 6763f23e2..1930d2a86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,7 +61,9 @@ script: - php ocular.phar code-coverage:upload --format=php-clover coverage.clover - grunt js-unit # integration tests - - grunt php-integration + - cd .. + - phpunit -c phpunit.integration.xml + - cd js # acceptance tests - webdriver-manager update - sudo chown -R www-data:www-data ../../../data/ diff --git a/tests/integration/db/ItemMapperTest.php b/tests/integration/db/ItemMapperTest.php index f0bac5ced..53ade4c79 100644 --- a/tests/integration/db/ItemMapperTest.php +++ b/tests/integration/db/ItemMapperTest.php @@ -50,6 +50,11 @@ class ItemMapperTest extends NewsIntegrationTest { private function deleteReadOlderThanThreshold() { $this->itemMapper->deleteReadOlderThanThreshold(1); + $this->itemMapper->find($this->items['a title1']->getId(), + $this->userId); + $this->itemMapper->find($this->items['a title2']->getId(), + $this->userId); + $this->itemMapper->find($this->items['a title3']->getId(), $this->userId); $this->itemMapper->find($this->items['del3']->getId(), $this->userId); $this->itemMapper->find($this->items['del4']->getId(), $this->userId); } |