View | Details | Raw Unified | Return to bug 37351
Collapse All | Expand All

(-)a/t/db_dependent/api/v1/bookings.t (-2 / +1 lines)
Lines 269-275 subtest 'add() tests' => sub { Link Here
269
        $t->post_ok( "//$userid:$password@/api/v1/bookings" => json => $booking )->status_is(409)
269
        $t->post_ok( "//$userid:$password@/api/v1/bookings" => json => $booking )->status_is(409)
270
            ->json_is( "/error" => "Duplicate booking_id" );
270
            ->json_is( "/error" => "Duplicate booking_id" );
271
    }
271
    }
272
    qr/DBD::mysql::st execute failed: Duplicate entry '(.*?)' for key 'PRIMARY'/;
272
    qr/DBD::mysql::st execute failed: Duplicate entry '(.*?)' for key '(.*\.?)PRIMARY'/;
273
273
274
    # TODO: Test bookings clashes
274
    # TODO: Test bookings clashes
275
    # TODO: Test item auto-assignment
275
    # TODO: Test item auto-assignment
276
- 

Return to bug 37351