aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/plugins/authpdo/_test/sqlite.test.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2017-03-31 10:08:26 +0200
committerAndreas Gohr <andi@splitbrain.org>2017-03-31 10:08:26 +0200
commit1bff2abab47a9f8dec5518d13a0e05c44e093c6c (patch)
tree74ba9cb28874d4016fb2d401bcad6d653dd876fc /lib/plugins/authpdo/_test/sqlite.test.php
parentbad6fc0d88e69349393c3950ca25e5dd8ce34cd2 (diff)
downloaddokuwiki-1bff2abab47a9f8dec5518d13a0e05c44e093c6c.tar.gz
dokuwiki-1bff2abab47a9f8dec5518d13a0e05c44e093c6c.zip
mark some tests as non-risky
Those tests either just check that an exception is NOT thrown or are there to check dependencies for other tests. Newer phpunits mark all tests as risky that have no assertion.
Diffstat (limited to 'lib/plugins/authpdo/_test/sqlite.test.php')
-rw-r--r--lib/plugins/authpdo/_test/sqlite.test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/plugins/authpdo/_test/sqlite.test.php b/lib/plugins/authpdo/_test/sqlite.test.php
index e532567c1..35b612604 100644
--- a/lib/plugins/authpdo/_test/sqlite.test.php
+++ b/lib/plugins/authpdo/_test/sqlite.test.php
@@ -33,6 +33,7 @@ class sqlite_plugin_authpdo_test extends DokuWikiTest {
if(!class_exists('PDO') || !in_array('sqlite',PDO::getAvailableDrivers())) {
$this->markTestSkipped('skipping all authpdo tests for sqlite. Need PDO_sqlite extension');
}
+ $this->assertTrue(true); // avoid being marked as risky for having no assertion
}
public function setUp() {