From f54834b45058ccbbd5ff7fcf4aa180d6cb57bbdf Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Mon, 24 Jun 2019 21:17:37 +0900 Subject: [PATCH] =?UTF-8?q?PHP7.2=E6=9C=AA=E6=BA=80=E3=81=AE=E5=A0=B4?= =?UTF-8?q?=E5=90=88=E3=81=AF=20SC=5FHelper=5FPlugin::load()=20=E3=82=92?= =?UTF-8?q?=E5=AE=9F=E8=A1=8C=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appveyor.yml | 3 +-- tests/class/plugin/LoadClassFileChangeTest.php | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index d7f32761a6..ea33de88b7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -83,7 +83,6 @@ build: off before_test: - bash eccube_install.sh mysql - + test_script: - data/vendor/bin/phpunit --exclude-group classloader - - data/vendor/bin/phpunit --group classloader diff --git a/tests/class/plugin/LoadClassFileChangeTest.php b/tests/class/plugin/LoadClassFileChangeTest.php index db88a77791..803d81bcbd 100644 --- a/tests/class/plugin/LoadClassFileChangeTest.php +++ b/tests/class/plugin/LoadClassFileChangeTest.php @@ -9,6 +9,10 @@ protected function setUp() { parent::setUp(); $this->createPlugin(); + if (PHP_VERSION_ID < 70200) { + $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance(); + $objPlugin->load(); + } } protected function tearDown()