|
Lines 50-56
subtest 'enqueue() tests' => sub {
Link Here
|
| 50 |
|
50 |
|
| 51 |
is( $job->size, 1, 'Size is correct' ); |
51 |
is( $job->size, 1, 'Size is correct' ); |
| 52 |
is( $job->status, 'new', 'Initial status set correctly' ); |
52 |
is( $job->status, 'new', 'Initial status set correctly' ); |
| 53 |
is( $job->queue, 'default', 'BatchUpdateItem should use the default queue' ); |
53 |
is( $job->queue, 'elastic_index', 'BatchUpdateItem should use the default queue' ); |
| 54 |
|
54 |
|
| 55 |
$schema->storage->txn_rollback; |
55 |
$schema->storage->txn_rollback; |
| 56 |
}; |
56 |
}; |
| 57 |
- |
|
|