public function test_assertMinimumShopwareVersion_should_return_true_if_same_versions_were_given() { $currentShopwareVersion = '5.3.0'; $minVersion = '5.3.0'; $setupContext = new SetupContext($currentShopwareVersion, '', ''); $isCompatible = $setupContext->assertMinimumShopwareVersion($minVersion); $this->assertTrue($isCompatible); }
/** * @return boolean */ public function isCompatible() { return $this->setupContext->assertMinimumShopwareVersion(self::SHOPWARE_MIN_VERSION); }