From 8be296985b178e0bdde43a70be76b3933267b7b2 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 19 Mar 2018 11:12:55 -0700 Subject: [PATCH] VersionCheckTest - Use assertions if *not* alpha --- tests/phpunit/CRM/Utils/versionCheckTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Utils/versionCheckTest.php b/tests/phpunit/CRM/Utils/versionCheckTest.php index 03ea60ccaa..eb8980cb82 100644 --- a/tests/phpunit/CRM/Utils/versionCheckTest.php +++ b/tests/phpunit/CRM/Utils/versionCheckTest.php @@ -278,7 +278,7 @@ class CRM_Utils_versionCheckTest extends CiviUnitTestCase { // See CRM_Utils_VersionCheck::getSiteStats where alpha versions don't get // full stats generated - if (array_key_exists('version', $stats) && strpos($stats['version'], 'alpha') !== FALSE) { + if (array_key_exists('version', $stats) && strpos($stats['version'], 'alpha') === FALSE) { $this->assertArrayHasKey('hash', $stats); $this->assertArrayHasKey('uf', $stats); $this->assertArrayHasKey('lang', $stats); -- 2.25.1