]> git.koha-community.org Git - koha.git/commit
Bug 30194: (follow-up) Remove invalid tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 8 Mar 2022 18:43:28 +0000 (15:43 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 29 Mar 2022 14:44:31 +0000 (16:44 +0200)
commit27698df8f859a8e526fdca9ffd8904364f2e120b
tree0a56c38e1ef131f4d15c637d7912a3037859d1ef
parent973564f8ef4c0a8420e08f77836b5e1cebba39f9
Bug 30194: (follow-up) Remove invalid tests

This patch removes tests for the wrong 'Accept' header situation. It is
the only thing I found I could do.

The situation is: the JSON::Validator + Mojolicious::Plugin::OpenAPI is
trapping this case and returning its own error code (400) and it also
builds its own message! So no point testing it, as it can change again.

I post it as a separate patch just in case someone finds a better way to
handle this and obsoletes the patch :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/api/v1/biblios.t