]> git.mxchange.org Git - friendica.git/commitdiff
deactivated test
authorMichael <heluecht@pirati.ca>
Fri, 15 May 2020 21:09:50 +0000 (21:09 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 15 May 2020 21:09:50 +0000 (21:09 +0000)
tests/src/Database/DBStructureTest.php

index fc7fd133035d7f5d74e6ba5e1c0f6cbad08ba6d9..baed645ecd85100b108828e462cc0fdc36feb738 100644 (file)
@@ -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));
        }
 }