mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-15 06:09:58 +08:00
Fix tests
This commit is contained in:
parent
f319bcd85a
commit
e69b8758e3
@ -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);
|
||||
}
|
||||
|
@ -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'
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user