Skip to content

Commit

Permalink
Merge pull request #1821 from gravityview/develop
Browse files Browse the repository at this point in the history
Re-release 2.17.1 with fixed tests [force release]
  • Loading branch information
zackkatz authored Feb 20, 2023
2 parents db92804 + 3f2379d commit 2f1862f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit-tests/GravityView_Future_Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,17 @@ public function test_plugin_is_compatible() {
$this->assertTrue( gravityview()->plugin->is_compatible() );

/** Simulate various other conditions, including failure conditions. */
$GLOBALS['GRAVITYVIEW_TESTS_PHP_VERSION_OVERRIDE'] = '7.0.99-hhvm';
$GLOBALS['GRAVITYVIEW_TESTS_PHP_VERSION_OVERRIDE'] = '7.2.0';
$GLOBALS['GRAVITYVIEW_TESTS_WP_VERSION_OVERRIDE'] = '4.8-alpha-39901';
$GLOBALS['GRAVITYVIEW_TESTS_GF_VERSION_OVERRIDE'] = '2.3.3.10-alpha';
$this->assertTrue( gravityview()->plugin->is_compatible_php() );
$this->assertTrue( gravityview()->plugin->is_compatible_wordpress() );
$this->assertTrue( gravityview()->plugin->is_compatible_gravityforms() );
$this->assertTrue( gravityview()->plugin->is_compatible() );

$GLOBALS['GRAVITYVIEW_TESTS_PHP_VERSION_OVERRIDE'] = '7.1';
$this->assertFalse( gravityview()->plugin->is_compatible_php() );

$GLOBALS['GRAVITYVIEW_TESTS_PHP_VERSION_OVERRIDE'] = '5.2';
$GLOBALS['GRAVITYVIEW_TESTS_WP_VERSION_OVERRIDE'] = '3.0';
$GLOBALS['GRAVITYVIEW_TESTS_GF_VERSION_OVERRIDE'] = '1.0';
Expand Down

0 comments on commit 2f1862f

Please sign in to comment.