ensuring tests will work with PHP 5.4, the currently oldest supported version

This commit is contained in:
El RIDO 2017-02-12 15:16:29 +01:00
parent 0c5148a790
commit 1457b5ec6a
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -311,7 +311,7 @@ class DatabaseTest extends PHPUnit_Framework_TestCase
'vizhash BLOB, ' .
'postdate INT );'
);
$this->assertInstanceOf(Database::class, Database::getInstance($this->_options));
$this->assertInstanceOf('PrivateBin\\Data\\Database', Database::getInstance($this->_options));
// check if version number was upgraded in created configuration table
$statement = $db->prepare('SELECT value FROM foo_config WHERE id LIKE ?');