diff --git a/index.phpunit.php b/index.phpunit.php new file mode 100644 index 000000000..449e2a0ab --- /dev/null +++ b/index.phpunit.php @@ -0,0 +1,39 @@ + - + - - system/UnitTests/vertragsbestandteil/gui + + system/UnitTests/api/ diff --git a/system/UnitTests/api/BookmarkTest/BookmarkTest.php b/system/UnitTests/api/BookmarkTest/BookmarkTest.php new file mode 100644 index 000000000..1b96033d6 --- /dev/null +++ b/system/UnitTests/api/BookmarkTest/BookmarkTest.php @@ -0,0 +1,48 @@ +_ci = &get_instance(); +// +// if (!is_object($this->_ci)) { +// throw new \Exception('CI instance is not available'); +// } +// +// $this->_ci->load->library('AuthLib', null, 'AuthLib'); +// +// $this->_ci->AuthLib->loginLDAP('horauer', 'FHCompleteDemo42!'); +// $this->_ci->load->controller('api/v1/Bookmark'); +// +// $this->obj = new Bookmark(); +// } + + /** @test */ + public function test_true() + { + echo 'in the test_true case'; + $this->assertTrue(true); + } + + +} \ No newline at end of file