summaryrefslogtreecommitdiff
path: root/tests/Framework/DB.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-02-09 17:37:16 +0100
committerAleksander Machniak <alec@alec.pl>2014-02-09 17:37:16 +0100
commit6fdf1f20729c34083b958b706647f42df37e8bca (patch)
tree212b83f47a8f65fb29402f5907959b04cd687c76 /tests/Framework/DB.php
parent4bcb8ac002c95e6290b9307ab41bb8539cde8fe5 (diff)
Add more tests for framework classes
Diffstat (limited to 'tests/Framework/DB.php')
-rw-r--r--tests/Framework/DB.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/Framework/DB.php b/tests/Framework/DB.php
new file mode 100644
index 000000000..b7a063841
--- /dev/null
+++ b/tests/Framework/DB.php
@@ -0,0 +1,20 @@
+<?php
+
+/**
+ * Test class to test rcube_db class
+ *
+ * @package Tests
+ */
+class Framework_DB extends PHPUnit_Framework_TestCase
+{
+
+ /**
+ * Class constructor
+ */
+ function test_class()
+ {
+ $object = new rcube_db('test');
+
+ $this->assertInstanceOf('rcube_db', $object, "Class constructor");
+ }
+}