Explorar o código

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

El RIDO %!s(int64=9) %!d(string=hai) anos
pai
achega
1457b5ec6a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tst/Data/DatabaseTest.php

+ 1 - 1
tst/Data/DatabaseTest.php

@@ -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 ?');