[Koha-bugs] [Bug 36190] op param for stateful requests must start with 'cud-'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 15 00:35:13 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36190

--- Comment #12 from David Nind <david at davidnind.com> ---
Thanks Nick!

Testing notes (using KTD):

1. Run the tests before the patch is applied - tests should pass: prove -v
xt/find-missing-op-in-forms.t
2. Apply the first three patches (using interactive mode) and run the tests:
tests should fail with 12 forms missing the required information
3. Apply the remaining patch and run the tests again: tests still fail,[1] but
this time there is only 1 form missing the required information (addressed in
bug 36305)

[1] After all patches are applied, only 1 form is missing the required
information

prove -v xt/find-missing-op-in-forms.t
xt/find-missing-op-in-forms.t .. 
1..1
not ok 1 - The <form> in the following files are missing it's corresponding op
parameter, or op does not start with 'cud-' (see bug 34478)

#   Failed test 'The <form> in the following files are missing it's
corresponding op parameter, or op does not start with 'cud-' (see bug 34478)'
#   at xt/find-missing-op-in-forms.t line 43.
#          got: '1'
#     expected: '0'
# $VAR1 = 'koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt:71,248';
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Test Summary Report
-------------------
xt/find-missing-op-in-forms.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=1, Tests=1,  0 wallclock secs ( 0.01 usr  0.00 sys +  0.15 cusr  0.01
csys =  0.17 CPU)
Result: FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list