From: Michael Date: Fri, 15 May 2020 21:09:50 +0000 (+0000) Subject: deactivated test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=29450334d08148766d492ac23e6796c36a023984;p=friendica.git deactivated test --- diff --git a/tests/src/Database/DBStructureTest.php b/tests/src/Database/DBStructureTest.php index fc7fd13303..baed645ecd 100644 --- a/tests/src/Database/DBStructureTest.php +++ b/tests/src/Database/DBStructureTest.php @@ -75,10 +75,11 @@ class DBStructureTest extends DatabaseTest * @small */ public function testChangePrimaryKey() { - $oldID = 'id'; + $this->markTestSkipped('rename primary key with autoincrement and foreign key support necessary first'); + $oldID = 'client_id'; $newID = 'pw'; - $this->assertTrue(DBStructure::rename('poll', [ $newID ], DBStructure::RENAME_PRIMARY_KEY)); - $this->assertTrue(DBStructure::rename('poll', [ $oldID ], DBStructure::RENAME_PRIMARY_KEY)); + $this->assertTrue(DBStructure::rename('clients', [ $newID ], DBStructure::RENAME_PRIMARY_KEY)); + $this->assertTrue(DBStructure::rename('clients', [ $oldID ], DBStructure::RENAME_PRIMARY_KEY)); } }