Skip to content

Commit 5d758fe

Browse files
committed
refactory: by rector
1 parent 119c35c commit 5d758fe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/system/Database/Live/UpdateTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ public function testUpdateBatch(): void
125125
'type_char' => 'char',
126126
'type_text' => 'text',
127127
'type_smallint' => 32767,
128-
'type_integer' => 2147483647,
129-
'type_bigint' => 9223372036854775807,
128+
'type_integer' => 2_147_483_647,
129+
'type_bigint' => 9_223_372_036_854_775_807,
130130
'type_float' => 10.1,
131131
'type_numeric' => 123.23,
132132
'type_date' => '2023-12-21',
@@ -138,14 +138,14 @@ public function testUpdateBatch(): void
138138
[
139139
'type_varchar' => 'test1',
140140
'type_text' => 'updated',
141-
'type_bigint' => 9999999,
141+
'type_bigint' => 9_999_999,
142142
'type_date' => '2024-01-01',
143143
'type_datetime' => '2024-01-01 09:00:00',
144144
],
145145
[
146146
'type_varchar' => 'test2',
147147
'type_text' => 'updated',
148-
'type_bigint' => 9999999,
148+
'type_bigint' => 9_999_999,
149149
'type_date' => '2024-01-01',
150150
'type_datetime' => '2024-01-01 09:00:00',
151151
],
@@ -155,14 +155,14 @@ public function testUpdateBatch(): void
155155
$this->seeInDatabase($table, [
156156
'type_varchar' => 'test1',
157157
'type_text' => 'updated',
158-
'type_bigint' => 9999999,
158+
'type_bigint' => 9_999_999,
159159
'type_date' => '2024-01-01',
160160
'type_datetime' => '2024-01-01 09:00:00',
161161
]);
162162
$this->seeInDatabase($table, [
163163
'type_varchar' => 'test2',
164164
'type_text' => 'updated',
165-
'type_bigint' => 9999999,
165+
'type_bigint' => 9_999_999,
166166
'type_date' => '2024-01-01',
167167
'type_datetime' => '2024-01-01 09:00:00',
168168
]);

0 commit comments

Comments
 (0)