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

(-)a/t/db_dependent/api/v1/oauth.t (-4 / +2 lines)
Lines 35-48 subtest '/oauth/token tests' => sub { Link Here
35
35
36
    $schema->storage->txn_begin;
36
    $schema->storage->txn_begin;
37
37
38
    my $borrower = $builder->build({
38
    my $patron = $builder->build_object({
39
        source => 'Borrower',
39
        class => 'Koha::Patrons',
40
        value  => {
40
        value  => {
41
            surname => 'Test OAuth',
41
            surname => 'Test OAuth',
42
            flags => 0,
42
            flags => 0,
43
        },
43
        },
44
    });
44
    });
45
    my $patron = Koha::Patrons->find($borrower->{borrowernumber});
46
45
47
    # Missing parameter grant_type
46
    # Missing parameter grant_type
48
    $t->post_ok('/api/v1/oauth/token')
47
    $t->post_ok('/api/v1/oauth/token')
49
- 

Return to bug 20402