Bugzilla – Attachment 104489 Details for
Bug 25327
Cannot access API spec
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25327: Regression tests
Bug-25327-Regression-tests.patch (text/plain), 1.10 KB, created by
Nick Clemens (kidclamp)
on 2020-05-07 11:04:07 UTC
(
hide
)
Description:
Bug 25327: Regression tests
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-05-07 11:04:07 UTC
Size:
1.10 KB
patch
obsolete
>From 9a7f293bcdaeb548afa96540cd3fea4c24529d0a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 4 May 2020 15:43:08 -0300 >Subject: [PATCH] Bug 25327: Regression tests > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/db_dependent/api/v1/auth.t | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/auth.t b/t/db_dependent/api/v1/auth.t >index 2daab59260..2003ac657c 100644 >--- a/t/db_dependent/api/v1/auth.t >+++ b/t/db_dependent/api/v1/auth.t >@@ -17,7 +17,7 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::More tests => 3; > use Test::Mojo; > use Test::Warn; > >@@ -126,6 +126,17 @@ subtest 'CORS support' => sub { > ->header_is( 'Access-control-allow-origin', '*', 'Header set' ); > }; > >+subtest 'spec retrieval tests' => sub { >+ >+ plan tests => 4; >+ >+ $t->get_ok("/api/v1/") >+ ->status_is(200); >+ >+ $t->get_ok("/api/v1/.html") >+ ->status_is(200); >+}; >+ > sub create_user_and_session { > my $user = $builder->build( > { >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25327
:
104318
|
104319
|
104489
|
104490
|
104494
|
104495
|
106082
|
106083