From bad009a5457bb942b059ef4b19eb8a1cc0624fca Mon Sep 17 00:00:00 2001 From: Nick Clemens 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