From 110507c9b2c8dd38f86613907aa4fd5b5be0d406 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Lahmann?= <lahmann@ub.uni-leipzig.de>
Date: Wed, 1 Jul 2015 16:09:17 +0200
Subject: [PATCH] * added DAIA->checkForILSTestId() due to previous merge
 failure

---
 module/finc/src/finc/ILS/Driver/DAIA.php | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/module/finc/src/finc/ILS/Driver/DAIA.php b/module/finc/src/finc/ILS/Driver/DAIA.php
index 86646f832fd..20032518fcd 100644
--- a/module/finc/src/finc/ILS/Driver/DAIA.php
+++ b/module/finc/src/finc/ILS/Driver/DAIA.php
@@ -421,6 +421,22 @@ class DAIA extends \VuFind\ILS\Driver\AbstractBase implements
         return rtrim($multiURI, "|");
     }
 
+    /**
+     * Autoconfigure tests ILS with getStatus('1') - use this method if you don't
+     * have a record with id='1' but don't want Autoconfigure to fail on ILS test.
+     *
+     * @param string $id Record id to be tested
+     *
+     * @return bool
+     */
+    protected function checkForILSTestId($id)
+    {
+        if ($id === '1') {
+            return true;
+        }
+        return false;
+    }
+
     /**
      * Parse a DAIA document depending on its type.
      *
-- 
GitLab