diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-29 13:50:59 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-29 13:50:59 +0200 |
commit | ecef4cc91989005802e7432b985e3ed791097ef9 (patch) | |
tree | 102cf31f6b5d24f16b2a029906f1fceb67be035c /tests/Framework/DBSqlsrv.php | |
parent | 3ce4f0a83939a26c74ec990ae66af6a03ea216d6 (diff) |
Add some unit tests for DB classes
Diffstat (limited to 'tests/Framework/DBSqlsrv.php')
-rw-r--r-- | tests/Framework/DBSqlsrv.php | 20 |
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"); + } +} |