File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/system/Database/Live/SQLite3 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,17 +89,17 @@ public function testFromTableFillsDetails(): void
89
89
90
90
$ this ->assertCount (5 , $ fields );
91
91
$ this ->assertArrayHasKey ('id ' , $ fields );
92
- $ this ->assertNull ( $ fields ['id ' ][ ' default ' ]);
92
+ $ this ->assertArrayNotHasKey ( ' default ' , $ fields ['id ' ]);
93
93
$ this ->assertTrue ($ fields ['id ' ]['null ' ]);
94
94
$ this ->assertSame ('integer ' , strtolower ($ fields ['id ' ]['type ' ]));
95
95
96
96
$ this ->assertArrayHasKey ('name ' , $ fields );
97
- $ this ->assertNull ( $ fields ['name ' ][ ' default ' ]);
97
+ $ this ->assertArrayNotHasKey ( ' default ' , $ fields ['name ' ]);
98
98
$ this ->assertFalse ($ fields ['name ' ]['null ' ]);
99
99
$ this ->assertSame ('varchar ' , strtolower ($ fields ['name ' ]['type ' ]));
100
100
101
101
$ this ->assertArrayHasKey ('email ' , $ fields );
102
- $ this ->assertNull ( $ fields ['email ' ][ ' default ' ]);
102
+ $ this ->assertArrayNotHasKey ( ' default ' , $ fields ['email ' ]);
103
103
$ this ->assertTrue ($ fields ['email ' ]['null ' ]);
104
104
$ this ->assertSame ('varchar ' , strtolower ($ fields ['email ' ]['type ' ]));
105
105
You can’t perform that action at this time.
0 commit comments