mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
deactivated test
This commit is contained in:
parent
68d3dc1fcc
commit
29450334d0
1 changed files with 4 additions and 3 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue