-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
t/mojo-oauth2.t: Disable if OAuth2 is disabled
- Loading branch information
1 parent
e069bea
commit 12b5136
Showing
1 changed file
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,10 @@ use Bugzilla::Test::Util qw(create_user create_oauth_client); | |
use Test2::V0; | ||
use Test::Mojo; | ||
|
||
if (!Bugzilla->has_feature('oauth2_server')) { | ||
skip_all("oauth2_server feature not available"); | ||
} | ||
|
||
my $oauth_login = '[email protected]'; | ||
my $oauth_password = 'password123456789!'; | ||
my $referer = Bugzilla->localconfig->urlbase; | ||
|