Bug 10667: Follow up - prevent t/00-load from failing
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Thu, 12 Sep 2013 05:36:24 +0000 (07:36 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 16 Sep 2013 19:15:56 +0000 (19:15 +0000)
To test:
- Apply first 2 patches for unit tests and changes to Services.pm
- Turn off mysql
- Run t/00-load.t
- Verify that the test fails.
- Apply this third patch.
- Run t/00-load.t again.
- Verify this time it passes.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: Work well, no koha-qa errors.

Without third patch and mysql down, test fails,
with third patch it succeed.
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/00-load.t

index 002a82d..4f33e60 100644 (file)
@@ -19,6 +19,7 @@ find({
         return if $m =~ /SIP/; # SIP modules will not load clean
         return if $m =~ /C4::VirtualShelves$/; # Requires a DB
         return if $m =~ /C4::Auth$/; # DB
+        return if $m =~ /C4::ILSDI::Services/; # DB
         return if $m =~ /C4::Tags$/; # DB
         return if $m =~ /C4::Service/; # DB
         return if $m =~ /C4::Auth_with_cas/; # DB