]> git.mxchange.org Git - friendica.git/blobdiff - tests/Util/DBStructureMockTrait.php
Rename *CacheDriver to *Cache because they don't act as driver anymore
[friendica.git] / tests / Util / DBStructureMockTrait.php
index 92ec412cb7ed4bec698c49c768248b2efe9d67a1..224e5d07af27482eedb0915c891dfbb72cfababc 100644 (file)
@@ -26,7 +26,7 @@ trait DBStructureMockTrait
        public function mockUpdate($args = [], $return = true, $times = null)
        {
                if (!isset($this->dbStructure)) {
-                       $this->dbStructure = \Mockery::mock('alias:Friendica\Database\DBStructure');
+                       $this->dbStructure = \Mockery::mock('alias:' . DBStructure::class);
                }
 
                $this->dbStructure
@@ -46,7 +46,7 @@ trait DBStructureMockTrait
        public function mockExistsTable($tableName, $return = true, $times = null)
        {
                if (!isset($this->dbStructure)) {
-                       $this->dbStructure = \Mockery::mock('alias:Friendica\Database\DBStructure');
+                       $this->dbStructure = \Mockery::mock('alias:' . DBStructure::class);
                }
 
                $this->dbStructure