From 1600907d918535575591f0ebac13a5a3d19084e5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 14 Sep 2020 10:47:40 +0200 Subject: update to 1.2.11 switch to phpunit9 --- php-williamdes-mariadb-mysql-kbs-layout.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'php-williamdes-mariadb-mysql-kbs-layout.patch') 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); + } } -- cgit