fix test
This commit is contained in:
parent
d7a60a842d
commit
04c3c7908c
|
|
@ -28,11 +28,11 @@ class FootComposerTest extends TestCase
|
||||||
$this->mock(JavaScript::class, function ($mock) {
|
$this->mock(JavaScript::class, function ($mock) {
|
||||||
$mock->shouldReceive('generate')
|
$mock->shouldReceive('generate')
|
||||||
->with('en')
|
->with('en')
|
||||||
->twice()
|
->once()
|
||||||
->andReturn('en.js');
|
->andReturn('en.js');
|
||||||
$mock->shouldReceive('plugin')
|
$mock->shouldReceive('plugin')
|
||||||
->with('en')
|
->with('en')
|
||||||
->twice()
|
->once()
|
||||||
->andReturn('en_plugin.js');
|
->andReturn('en_plugin.js');
|
||||||
});
|
});
|
||||||
$this->mock(Webpack::class, function ($mock) {
|
$this->mock(Webpack::class, function ($mock) {
|
||||||
|
|
@ -44,7 +44,7 @@ class FootComposerTest extends TestCase
|
||||||
->andReturn('style.js');
|
->andReturn('style.js');
|
||||||
$mock->shouldReceive('url')
|
$mock->shouldReceive('url')
|
||||||
->with('app.js')
|
->with('app.js')
|
||||||
->twice()
|
->once()
|
||||||
->andReturn('app.js');
|
->andReturn('app.js');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user