Fix tests

This commit is contained in:
Pig Fang 2018-09-06 19:31:35 +08:00
parent f319bcd85a
commit e69b8758e3
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ trait GeneratesFakePlugins
'url' => 'https://'.str_random(10).'.test',
'namespace' => str_random(10),
'require' => [
'blessing-skin-server' => '^3.4.0'
'blessing-skin-server' => '^3.4.0 || ^4.0.0'
]
], $info);
}

View File

@ -67,7 +67,7 @@ class PluginControllerTest extends TestCase
// Enable a plugin with unsatisfied dependencies
app('plugins')->getPlugin('fake-plugin-for-test')->setRequirements([
'blessing-skin-server' => '^3.4.0',
'blessing-skin-server' => '^3.4.0 || ^4.0.0',
'fake-plugin-with-config-view' => '^6.6.6',
'whatever' => '^1.0.0'
]);