|
Lines 466-472
subtest 'dbic_merge_sorting() tests' => sub {
Link Here
|
| 466 |
}; |
466 |
}; |
| 467 |
|
467 |
|
| 468 |
subtest '/dbic_merge_prefetch' => sub { |
468 |
subtest '/dbic_merge_prefetch' => sub { |
| 469 |
plan tests => 10; |
469 |
plan tests => 11; |
| 470 |
|
470 |
|
| 471 |
my $t = Test::Mojo->new; |
471 |
my $t = Test::Mojo->new; |
| 472 |
|
472 |
|
|
Lines 485-491
subtest '/dbic_merge_prefetch' => sub {
Link Here
|
| 485 |
} |
485 |
} |
| 486 |
); |
486 |
); |
| 487 |
|
487 |
|
| 488 |
$t->get_ok('/dbic_merge_prefetch_count')->status_is(200)->json_is( '/prefetch/0' => 'guarantee' ); |
488 |
$t->get_ok('/dbic_merge_prefetch_count') |
|
|
489 |
->status_is(200) |
| 490 |
->json_is( '/+as/0' => 'guarantee_count' ) |
| 491 |
->json_hasnt('/prefetch'); |
| 489 |
}; |
492 |
}; |
| 490 |
|
493 |
|
| 491 |
subtest '/merge_q_params' => sub { |
494 |
subtest '/merge_q_params' => sub { |
| 492 |
- |
|
|