diff --git a/.travis.yml b/.travis.yml index b77e3d60..e1c2adec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,7 @@ matrix: # next-to-latest version currently available of eZPlatform 2 # sensio/generator-bundle is only needed because we run the tests using 'behat' sf env - php: 7.2 - env: EZ_PACKAGES='ezsystems/ezplatform:~2.4.2 ezsystems/ezplatform-xmltext-fieldtype:^1.8 ezsystems/behatbundle:^6.5 netgen/tagsbundle:^3.4 sensio/generator-bundle' EZ_VERSION=ezplatform2 KERNEL_CLASS=AppKernel KERNEL_DIR=vendor/ezsystems/ezplatform/app CODE_COVERAGE=0 INSTALL_TAGSBUNDLE=1 + env: EZ_PACKAGES='ezsystems/ezplatform:~2.4.2 ezsystems/ezplatform-xmltext-fieldtype:^1.8 ezsystems/behatbundle:^6.5 netgen/tagsbundle:^3.3 sensio/generator-bundle' EZ_VERSION=ezplatform2 KERNEL_CLASS=AppKernel KERNEL_DIR=vendor/ezsystems/ezplatform/app CODE_COVERAGE=0 INSTALL_TAGSBUNDLE=1 # latest version currently available of eZPlatform 2 - currently 2.5, which is also LTS - php: 7.3 env: EZ_PACKAGES='ezsystems/ezplatform:^2.5.9 ezsystems/ezplatform-xmltext-fieldtype:^1.9 ezsystems/behatbundle:^6.5 netgen/tagsbundle:^3.4 sensio/generator-bundle overblog/graphiql-bundle' EZ_VERSION=ezplatform2 KERNEL_CLASS=AppKernel KERNEL_DIR=vendor/ezsystems/ezplatform/app CODE_COVERAGE=0 INSTALL_TAGSBUNDLE=1 diff --git a/Tests/phpunit/1_GenerateTest.php b/Tests/phpunit/1_GenerateTest.php index 5cb19422..62f1daa8 100644 --- a/Tests/phpunit/1_GenerateTest.php +++ b/Tests/phpunit/1_GenerateTest.php @@ -112,7 +112,7 @@ public function provideGenerateParameters() /// @todo we should create some tags before running these... // try to make this work across phpunit versions, which run this before/after calling setUp() - $container = $this->getContainer() == null ? $this->bootContainer() : $this->getContainer()(); + $container = $this->getContainer() == null ? $this->bootContainer() : $this->getContainer(); $bundles = $container->getParameter('kernel.bundles'); if (isset($bundles['NetgenTagsBundle'])) { $out[] = array('unit_test_generated_tags', null, 'tag', 'all', null); diff --git a/Tests/phpunit/3_TagsTest.php b/Tests/phpunit/3_TagsTest.php index 9d54ea0a..36766302 100644 --- a/Tests/phpunit/3_TagsTest.php +++ b/Tests/phpunit/3_TagsTest.php @@ -60,7 +60,7 @@ public function goodDSLProvider() $dslDir = $this->dslDir.'/eztags'; // try to make this work across phpunit versions, which run this before/after calling setUp() - $container = $this->getContainer() == null ? $this->bootContainer() : $this->getContainer()(); + $container = $this->getContainer() == null ? $this->bootContainer() : $this->getContainer(); $tagsFieldType = $container->get('ezpublish.fieldType.eztags'); $settingsSchema = $tagsFieldType->getSettingsSchema(); if (isset($settingsSchema['subTreeLimit'])) {