Skip to content

Commit

Permalink
Update WordPressBuilderTest
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitriBouteille committed Oct 19, 2024
1 parent 71dc493 commit ed152fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/WordPress/Orm/Schemas/WordPressBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ public function testDropColumn(): void

$table = $this->database->getTablePrefix() . 'address';
$columns = $this->schema->getColumns($table);
$this->assertCount(5, $columns);
$this->assertCount(6, $columns);

$this->schema->dropColumns('address', ['street_3']);
$columns = $this->schema->getColumns($table);
$this->assertCount(4, $columns);
$this->assertCount(5, $columns);
$this->assertFalse($this->schema->hasColumn($table, 'street_3'));

}
Expand Down

0 comments on commit ed152fd

Please sign in to comment.