Skip to content

Commit 94ba245

Browse files
committed
update tests
1 parent cbc7d71 commit 94ba245

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/DatabaseHandlerTest.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function testPush(): void
8989
$this->seeInDatabaseExtended('queue_jobs', [
9090
'queue' => 'queue',
9191
$this->field('payload') => json_encode(['job' => 'success', 'data' => ['key' => 'value']]),
92-
'available_at' => '1703859316',
92+
'available_at' => 1703859316,
9393
]);
9494
}
9595

@@ -108,7 +108,7 @@ public function testPushWithPriority(): void
108108
'queue' => 'queue',
109109
$this->field('payload') => json_encode(['job' => 'success', 'data' => ['key' => 'value']]),
110110
'priority' => 'high',
111-
'available_at' => '1703859316',
111+
'available_at' => 1703859316,
112112
]);
113113
}
114114

@@ -124,7 +124,7 @@ public function testPushAndPopWithPriority(): void
124124
'queue' => 'queue',
125125
$this->field('payload') => json_encode(['job' => 'success', 'data' => ['key1' => 'value1']]),
126126
'priority' => 'low',
127-
'available_at' => '1703859316',
127+
'available_at' => 1703859316,
128128
]);
129129

130130
$result = $handler->setPriority('high')->push('queue', 'success', ['key2' => 'value2']);
@@ -134,7 +134,7 @@ public function testPushAndPopWithPriority(): void
134134
'queue' => 'queue',
135135
$this->field('payload') => json_encode(['job' => 'success', 'data' => ['key2' => 'value2']]),
136136
'priority' => 'high',
137-
'available_at' => '1703859316',
137+
'available_at' => 1703859316,
138138
]);
139139

140140
$result = $handler->pop('queue', ['high', 'low']);
@@ -268,7 +268,7 @@ public function testFailedAndKeepJob(): void
268268
'id' => 2,
269269
'connection' => 'database',
270270
'queue' => 'queue1',
271-
'failed_at' => '1703859316',
271+
'failed_at' => 1703859316,
272272
]);
273273
}
274274

0 commit comments

Comments
 (0)