summaryrefslogtreecommitdiff
path: root/tests/Framework/DBSqlsrv.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-29 13:50:59 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-29 13:50:59 +0200
commitecef4cc91989005802e7432b985e3ed791097ef9 (patch)
tree102cf31f6b5d24f16b2a029906f1fceb67be035c /tests/Framework/DBSqlsrv.php
parent3ce4f0a83939a26c74ec990ae66af6a03ea216d6 (diff)
Add some unit tests for DB classes
Diffstat (limited to 'tests/Framework/DBSqlsrv.php')
-rw-r--r--tests/Framework/DBSqlsrv.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/Framework/DBSqlsrv.php b/tests/Framework/DBSqlsrv.php
new file mode 100644
index 000000000..6272ef5d7
--- /dev/null
+++ b/tests/Framework/DBSqlsrv.php
@@ -0,0 +1,20 @@
+<?php
+
+/**
+ * Test class to test rcube_db_sqlsrv class
+ *
+ * @package Tests
+ */
+class Framework_DBSqlsrv extends PHPUnit_Framework_TestCase
+{
+
+ /**
+ * Class constructor
+ */
+ function test_class()
+ {
+ $object = new rcube_db_sqlsrv('test');
+
+ $this->assertInstanceOf('rcube_db_sqlsrv', $object, "Class constructor");
+ }
+}