mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +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',
|
'url' => 'https://'.str_random(10).'.test',
|
||||||
'namespace' => str_random(10),
|
'namespace' => str_random(10),
|
||||||
'require' => [
|
'require' => [
|
||||||
'blessing-skin-server' => '^3.4.0'
|
'blessing-skin-server' => '^3.4.0 || ^4.0.0'
|
||||||
]
|
]
|
||||||
], $info);
|
], $info);
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@ class PluginControllerTest extends TestCase
|
|||||||
|
|
||||||
// Enable a plugin with unsatisfied dependencies
|
// Enable a plugin with unsatisfied dependencies
|
||||||
app('plugins')->getPlugin('fake-plugin-for-test')->setRequirements([
|
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',
|
'fake-plugin-with-config-view' => '^6.6.6',
|
||||||
'whatever' => '^1.0.0'
|
'whatever' => '^1.0.0'
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user