Lines 84-89
subtest 'Net::OAuth2::AuthorizationServer missing tests' => sub {
Link Here
|
84 |
|
84 |
|
85 |
plan tests => 10; |
85 |
plan tests => 10; |
86 |
|
86 |
|
|
|
87 |
$schema->storage->txn_begin; |
88 |
|
87 |
my $load_conditional = Test::MockModule->new('Module::Load::Conditional'); |
89 |
my $load_conditional = Test::MockModule->new('Module::Load::Conditional'); |
88 |
|
90 |
|
89 |
# Enable the client credentials grant syspref |
91 |
# Enable the client credentials grant syspref |
Lines 115-120
subtest 'Net::OAuth2::AuthorizationServer missing tests' => sub {
Link Here
|
115 |
->status_is(400) |
117 |
->status_is(400) |
116 |
->json_is( { error => 'Unimplemented grant type' } ); |
118 |
->json_is( { error => 'Unimplemented grant type' } ); |
117 |
|
119 |
|
|
|
120 |
$schema->storage->txn_rollback; |
118 |
}; |
121 |
}; |
119 |
|
122 |
|
120 |
sub run_oauth_tests { |
123 |
sub run_oauth_tests { |
121 |
- |
|
|