@@ -136,16 +136,24 @@ public function testUpdateBatchConstraintsVarchar(): void
136136
137137 $ data = [
138138 [
139- 'type_varchar ' => 'test1 ' ,
139+ 'type_varchar ' => 'test1 ' , // Key
140140 'type_text ' => 'updated ' ,
141+ 'type_smallint ' => 9999 ,
142+ 'type_integer ' => 9_999_999 ,
141143 'type_bigint ' => 9_999_999 ,
144+ 'type_float ' => 999999.9 ,
145+ 'type_numeric ' => 999999.99 ,
142146 'type_date ' => '2024-01-01 ' ,
143147 'type_datetime ' => '2024-01-01 09:00:00 ' ,
144148 ],
145149 [
146- 'type_varchar ' => 'test2 ' ,
150+ 'type_varchar ' => 'test2 ' , // Key
147151 'type_text ' => 'updated ' ,
152+ 'type_smallint ' => 9999 ,
153+ 'type_integer ' => 9_999_999 ,
148154 'type_bigint ' => 9_999_999 ,
155+ 'type_float ' => 999999.9 ,
156+ 'type_numeric ' => 999999.99 ,
149157 'type_date ' => '2024-01-01 ' ,
150158 'type_datetime ' => '2024-01-01 09:00:00 ' ,
151159 ],
@@ -160,29 +168,45 @@ public function testUpdateBatchConstraintsVarchar(): void
160168 $ this ->seeInDatabase ($ table , [
161169 'type_varchar ' => 'test1 ' ,
162170 // 'type_text' => 'updated',
171+ 'type_smallint ' => 9999 ,
172+ 'type_integer ' => 9_999_999 ,
163173 'type_bigint ' => 9_999_999 ,
174+ 'type_float ' => 999999.9 ,
175+ 'type_numeric ' => 999999.99 ,
164176 'type_date ' => '2024-01-01 ' ,
165177 'type_datetime ' => '2024-01-01 09:00:00 ' ,
166178 ]);
167179 $ this ->seeInDatabase ($ table , [
168180 'type_varchar ' => 'test2 ' ,
169181 // 'type_text' => 'updated',
182+ 'type_smallint ' => 9999 ,
183+ 'type_integer ' => 9_999_999 ,
170184 'type_bigint ' => 9_999_999 ,
185+ 'type_float ' => 999999.9 ,
186+ 'type_numeric ' => 999999.99 ,
171187 'type_date ' => '2024-01-01 ' ,
172188 'type_datetime ' => '2024-01-01 09:00:00 ' ,
173189 ]);
174190 } else {
175191 $ this ->seeInDatabase ($ table , [
176192 'type_varchar ' => 'test1 ' ,
177193 'type_text ' => 'updated ' ,
194+ 'type_smallint ' => 9999 ,
195+ 'type_integer ' => 9_999_999 ,
178196 'type_bigint ' => 9_999_999 ,
197+ 'type_float ' => 999999.9 ,
198+ 'type_numeric ' => 999999.99 ,
179199 'type_date ' => '2024-01-01 ' ,
180200 'type_datetime ' => '2024-01-01 09:00:00 ' ,
181201 ]);
182202 $ this ->seeInDatabase ($ table , [
183203 'type_varchar ' => 'test2 ' ,
184204 'type_text ' => 'updated ' ,
205+ 'type_smallint ' => 9999 ,
206+ 'type_integer ' => 9_999_999 ,
185207 'type_bigint ' => 9_999_999 ,
208+ 'type_float ' => 999999.9 ,
209+ 'type_numeric ' => 999999.99 ,
186210 'type_date ' => '2024-01-01 ' ,
187211 'type_datetime ' => '2024-01-01 09:00:00 ' ,
188212 ]);
0 commit comments