diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 10:46:37 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 10:46:37 +0100 |
commit | fa3a2e469db519571fa7dc13bc832e7de1f8057f (patch) | |
tree | 44a3a31876e9d1b3365b848a235477b86a18d1e8 /tests/db/ItemMapperTest.php | |
parent | acb40d091fc096674b12ab3c95cabf49a42172c9 (diff) |
throw exceptions when attributes dont exist
Diffstat (limited to 'tests/db/ItemMapperTest.php')
-rw-r--r-- | tests/db/ItemMapperTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/db/ItemMapperTest.php b/tests/db/ItemMapperTest.php index ab7cfa043..40ff691b6 100644 --- a/tests/db/ItemMapperTest.php +++ b/tests/db/ItemMapperTest.php @@ -59,9 +59,9 @@ class Test extends \OCA\AppFramework\Utility\MapperTestUtility { array('test' => 1), array('test' => 2) ); - $sql = 'SELECT * FROM `*PREFIX*news_items` - WHERE user_id = ? - AND feed_id = ?'; + $sql = 'SELECT * FROM `*PREFIX*news_items` ' . + 'WHERE user_id = ? ' . + 'AND feed_id = ?'; $this->setMapperResult($sql, array($feedId, $userId), $rows); |