Skip to content

Commit

Permalink
PHP7.2未満の場合は SC_Helper_Plugin::load() を実行する
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Jun 24, 2019
1 parent 023818b commit f54834b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions tests/class/plugin/LoadClassFileChangeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f54834b

Please sign in to comment.