From dd4abe7f7a28cb9a7d082f33c9927daa41a658d5 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Sep 2021 12:27:24 +0100 Subject: [PATCH] Updated test --- tests/phpunit/plugin/ApiVersionTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/plugin/ApiVersionTest.php b/tests/phpunit/plugin/ApiVersionTest.php index 4d348ee0db..bd7c890326 100644 --- a/tests/phpunit/plugin/ApiVersionTest.php +++ b/tests/phpunit/plugin/ApiVersionTest.php @@ -41,8 +41,8 @@ class ApiVersionTest extends TestCase{ yield ["4.0.0", "3.0.0", false]; yield ["3.0.0", "3.0.1", false]; //bug fix patch required yield ["3.0.1", "3.0.0", true]; - yield ["3.0.0-ALPHA1", "3.0.0-ALPHA2", false]; - yield ["3.0.0-ALPHA2", "3.0.0-ALPHA1", false]; + yield ["3.0.0-ALPHA1", "3.0.0-ALPHA2", true]; + yield ["3.0.0-ALPHA2", "3.0.0-ALPHA1", true]; //at the time these weren't actually compatible, but these are just test samples. yield ["3.0.0-ALPHA1", "3.0.0-ALPHA1", true]; yield ["3.0.0-ALPHA1", "4.0.0-ALPHA1", false]; }