summaryrefslogtreecommitdiffstats
path: root/tests/integration/bootstrap.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-06 22:30:39 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-06 22:30:39 +0100
commit143272b1743109aab016fc0e02705176aab1e18d (patch)
tree111bd7278275716044c3051f1d8bc7df0166d9c3 /tests/integration/bootstrap.php
parent06812535593cdbf38f1e10ab412c61f326f8ba4f (diff)
more integration tests
Diffstat (limited to 'tests/integration/bootstrap.php')
-rw-r--r--tests/integration/bootstrap.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/integration/bootstrap.php b/tests/integration/bootstrap.php
index c8d7cc719..1fa6d08b8 100644
--- a/tests/integration/bootstrap.php
+++ b/tests/integration/bootstrap.php
@@ -86,10 +86,12 @@ class NewsIntegrationTest extends \PHPUnit_Framework_TestCase {
}
// feeds in no folders
- if (array_key_exists('no feed', $feeds)) {
- foreach ($feeds['no feed'] as $feed) {
+ if (array_key_exists('no folder', $feeds)) {
+ foreach ($feeds['no folder'] as $feed) {
+
$feed['folderId'] = 0;
- $this->feeds[] = $this->createFeed($feed);
+ $newFeed = $this->createFeed($feed);
+ $this->feeds[] = $newFeed;
if (array_key_exists($feed['title'], $items)) {
foreach ($items[$feed['title']] as $item) {
@@ -186,7 +188,7 @@ class NewsIntegrationTest extends \PHPUnit_Framework_TestCase {
protected function tearDown() {
- $this->cleanUp();
+ //$this->cleanUp();
}