fix compatibility with php 8.1
[plcapi.git] / tests / 9ExtraFilesTest.php
index 225ea9f..a88bace 100644 (file)
@@ -32,4 +32,10 @@ class ExtraFilesTest extends PhpXmlRpc_WebTestCase
     {
         $page = $this->request('verify_compat.php');
     }
+
+    public function testVarDemo()
+    {
+        $this->baseUrl = str_replace('/extras/', '/demo/', $this->baseUrl);
+        $page = $this->request('vardemo.php');
+    }
 }