summaryrefslogtreecommitdiffstats
path: root/php-williamdes-mariadb-mysql-kbs-layout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-williamdes-mariadb-mysql-kbs-layout.patch')
-rw-r--r--php-williamdes-mariadb-mysql-kbs-layout.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/php-williamdes-mariadb-mysql-kbs-layout.patch b/php-williamdes-mariadb-mysql-kbs-layout.patch
index 21b579e..9a7984e 100644
--- a/php-williamdes-mariadb-mysql-kbs-layout.patch
+++ b/php-williamdes-mariadb-mysql-kbs-layout.patch
@@ -33,8 +33,8 @@ diff -up ./test/SearchTest.php.rpm ./test/SearchTest.php
+ Search::$loaded = false;
+ Search::$DATA_DIR = getenv("RPM_BUILDROOT") . Search::$DATA_DIR;
+ $found = Search::getByName("max_connections", Search::MYSQL);
-+ $this->assertContains('php-williamdes-mariadb-mysql-kb', Search::$DATA_DIR);
-+ $this->assertContains(getenv("RPM_BUILDROOT"), Search::$DATA_DIR);
++ $this->assertStringContainsString('php-williamdes-mariadb-mysql-kb', Search::$DATA_DIR);
++ $this->assertStringContainsString(getenv("RPM_BUILDROOT"), Search::$DATA_DIR);
+ $this->assertTrue(Search::$loaded);
+ }
}