summaryrefslogtreecommitdiffstats
path: root/tests/integration
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-06 17:36:54 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-06 17:36:54 +0100
commit23dcd8e5bff6a2e366b085ac373638206652f055 (patch)
tree0bafb8ac92d7bfa3948369d4c0772758fda3c738 /tests/integration
parent31975bfab7d8f94ce3d2f438caa50ac21547d655 (diff)
fix mysql
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/db/ItemMapperTest.php3
-rw-r--r--tests/integration/fixtures/items.json38
2 files changed, 21 insertions, 20 deletions
diff --git a/tests/integration/db/ItemMapperTest.php b/tests/integration/db/ItemMapperTest.php
index 53ade4c79..b0b979f8f 100644
--- a/tests/integration/db/ItemMapperTest.php
+++ b/tests/integration/db/ItemMapperTest.php
@@ -54,7 +54,8 @@ class ItemMapperTest extends NewsIntegrationTest {
$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['a title3']->getId(),
+ $this->userId);
$this->itemMapper->find($this->items['del3']->getId(), $this->userId);
$this->itemMapper->find($this->items['del4']->getId(), $this->userId);
}
diff --git a/tests/integration/fixtures/items.json b/tests/integration/fixtures/items.json
index 780796afe..7f6b6c9c4 100644
--- a/tests/integration/fixtures/items.json
+++ b/tests/integration/fixtures/items.json
@@ -1,11 +1,11 @@
{
"first feed": [
{
- "status": 2,
+ "status": 4,
"body": "this is a body",
- "title": "a title1",
+ "title": "a title2",
"author": "my author",
- "guid": "abc",
+ "guid": "def",
"url": "http://google.de",
"pubDate": 2323,
"lastModified": 113,
@@ -13,11 +13,11 @@
"enclosureLink": "http://google.de/web.webm"
},
{
- "status": 0,
+ "status": 6,
"body": "this is a body",
- "title": "del1",
+ "title": "a title3",
"author": "my author",
- "guid": "del1",
+ "guid": "gih",
"url": "http://google.de",
"pubDate": 2323,
"lastModified": 113,
@@ -25,11 +25,11 @@
"enclosureLink": "http://google.de/web.webm"
},
{
- "status": 0,
+ "status": 2,
"body": "this is a body",
- "title": "del2",
+ "title": "a title1",
"author": "my author",
- "guid": "del2",
+ "guid": "abc",
"url": "http://google.de",
"pubDate": 2323,
"lastModified": 113,
@@ -39,9 +39,9 @@
{
"status": 0,
"body": "this is a body",
- "title": "del3",
+ "title": "del1",
"author": "my author",
- "guid": "del3",
+ "guid": "del1",
"url": "http://google.de",
"pubDate": 2323,
"lastModified": 113,
@@ -51,9 +51,9 @@
{
"status": 0,
"body": "this is a body",
- "title": "del4",
+ "title": "del2",
"author": "my author",
- "guid": "del4",
+ "guid": "del2",
"url": "http://google.de",
"pubDate": 2323,
"lastModified": 113,
@@ -61,11 +61,11 @@
"enclosureLink": "http://google.de/web.webm"
},
{
- "status": 4,
+ "status": 0,
"body": "this is a body",
- "title": "a title2",
+ "title": "del3",
"author": "my author",
- "guid": "def",
+ "guid": "del3",
"url": "http://google.de",
"pubDate": 2323,
"lastModified": 113,
@@ -73,11 +73,11 @@
"enclosureLink": "http://google.de/web.webm"
},
{
- "status": 6,
+ "status": 0,
"body": "this is a body",
- "title": "a title3",
+ "title": "del4",
"author": "my author",
- "guid": "gih",
+ "guid": "del4",
"url": "http://google.de",
"pubDate": 2323,
"lastModified": 113,