xref: /dokuwiki/lib/plugins/authpdo/_test/pgsql.test.php (revision c3f4c777155c3ce9e64aff5ff45420d373a92bc0)
1<?php
2
3/**
4 * pgsql tests for the authpdo plugin
5 *
6 * @group plugin_authpdo
7 * @group plugins
8 */
9class pgsql_plugin_authpdo_test extends mysql_plugin_authpdo_test {
10
11    protected $driver = 'pgsql';
12
13    public function test_requirements() {
14        parent::test_requirements();
15
16        if(!function_exists('hash_pbkdf2') || !in_array('sha256', hash_algos())){
17            $this->markTestSkipped("Skipped {$this->driver} tests. Missing pbkdf2 hash support to check passwords");
18        }
19    }
20
21}
22