From 29450334d08148766d492ac23e6796c36a023984 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 15 May 2020 21:09:50 +0000 Subject: [PATCH] deactivated test --- tests/src/Database/DBStructureTest.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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)); } } -- 2.39.5