Bugzilla – Attachment 191986 Details for
Bug 41700
Checkouts note_date has incorrect format in swagger definitions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41700: Unit test
Bug-41700-Unit-test.patch (text/plain), 1.03 KB, created by
Nick Clemens (kidclamp)
on 2026-01-23 19:55:38 UTC
(
hide
)
Description:
Bug 41700: Unit test
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2026-01-23 19:55:38 UTC
Size:
1.03 KB
patch
obsolete
>From bad009a5457bb942b059ef4b19eb8a1cc0624fca Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 23 Jan 2026 19:55:11 +0000 >Subject: [PATCH] Bug 41700: Unit test > >--- > t/db_dependent/api/v1/checkouts.t | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/checkouts.t b/t/db_dependent/api/v1/checkouts.t >index 7a00bd50ed6..011f48fba3f 100755 >--- a/t/db_dependent/api/v1/checkouts.t >+++ b/t/db_dependent/api/v1/checkouts.t >@@ -18,7 +18,7 @@ > use Modern::Perl; > > use Test::NoWarnings; >-use Test::More tests => 109; >+use Test::More tests => 111; > use Test::MockModule; > use Test::Mojo; > use t::lib::Mocks; >@@ -228,6 +228,10 @@ $t->get_ok( "//$userid:$password@/api/v1/checkouts/" . $issue2->issue_id . "/all > } > ); > >+#Confirm we can get a checkout with a note >+$issue1->note("Test")->notedate( dt_from_string() )->store; >+$t->get_ok("//$userid:$password@/api/v1/checkouts")->status_is(200); >+ > $schema->storage->txn_rollback; > > subtest 'get_availability' => sub { >-- >2.39.5
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 41700
:
191985
|
191986
|
191987
|
191988