This commit is contained in:
Pig Fang 2020-01-05 18:21:24 +08:00
parent d7a60a842d
commit 04c3c7908c

View File

@ -28,11 +28,11 @@ class FootComposerTest extends TestCase
$this->mock(JavaScript::class, function ($mock) {
$mock->shouldReceive('generate')
->with('en')
->twice()
->once()
->andReturn('en.js');
$mock->shouldReceive('plugin')
->with('en')
->twice()
->once()
->andReturn('en_plugin.js');
});
$this->mock(Webpack::class, function ($mock) {
@ -44,7 +44,7 @@ class FootComposerTest extends TestCase
->andReturn('style.js');
$mock->shouldReceive('url')
->with('app.js')
->twice()
->once()
->andReturn('app.js');
});