File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -687,14 +687,14 @@ public function testChangeColumnDefaultStringBoolean(): void
687687 $ table ->addColumn ('column1 ' , 'boolean ' , ['default ' => 'true ' ])
688688 ->save ();
689689 $ columns = $ this ->adapter ->getColumns ('t ' );
690- $ this ->assertSame (1 , $ columns ['column1 ' ]->getDefault ());
690+ $ this ->assertSame (true , $ columns ['column1 ' ]->getDefault ());
691691 $ newColumn1 = new Column ();
692692 $ newColumn1
693693 ->setType ('boolean ' )
694694 ->setDefault ('false ' );
695695 $ table ->changeColumn ('column1 ' , $ newColumn1 )->save ();
696696 $ columns = $ this ->adapter ->getColumns ('t ' );
697- $ this ->assertSame (0 , $ columns ['column1 ' ]->getDefault ());
697+ $ this ->assertSame (false , $ columns ['column1 ' ]->getDefault ());
698698 }
699699
700700 public function testDropColumn ()
You can’t perform that action at this time.
0 commit comments