summaryrefslogtreecommitdiffstats
path: root/tests/db/ItemTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-20 12:03:02 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-20 12:03:02 +0100
commit5a32f7a95687f7599c4c36f23a9807cf52a312d6 (patch)
tree11829359624e471f090bb8ad75b20978c3883532 /tests/db/ItemTest.php
parentd18ab3212a4e6f0101722e842c515895408d9c18 (diff)
added tablename for entites
Diffstat (limited to 'tests/db/ItemTest.php')
-rw-r--r--tests/db/ItemTest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/db/ItemTest.php b/tests/db/ItemTest.php
index 792085733..872b464c3 100644
--- a/tests/db/ItemTest.php
+++ b/tests/db/ItemTest.php
@@ -65,4 +65,9 @@ class ItemTest extends \PHPUnit_Framework_TestCase {
$this->assertTrue($this->item->isUnstarred());
}
+
+ public function testTableName(){
+ $this->assertEquals('*dbprefix*news_items', $this->item->getTableName());
+ }
+
} \ No newline at end of file