Skip to content

Commit a77bf70

Browse files
Baspagithub-actions[bot]
authored andcommitted
Fix styling
1 parent 3c42ccb commit a77bf70

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/JumpAnchorPluginTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Backstage\Fields\Plugins\JumpAnchorRichContentPlugin;
66
use Filament\Support\Facades\FilamentAsset;
77
use Illuminate\Support\Facades\Facade;
8-
use Mockery;
98
use PHPUnit\Framework\TestCase;
109

1110
class JumpAnchorPluginTest extends TestCase
@@ -20,18 +19,18 @@ protected function setUp(): void
2019
$app->singleton('filament.assets', function () {
2120
return new \Filament\Support\Assets\AssetManager;
2221
});
23-
22+
2423
// Mock the translator service
2524
$translator = \Mockery::mock(\Illuminate\Contracts\Translation\Translator::class);
2625
$translator->shouldReceive('get')->andReturn('Jump Anchor');
2726
$translator->shouldReceive('choice')->andReturn('Jump Anchor');
2827
$translator->shouldReceive('trans')->andReturn('Jump Anchor');
2928
$translator->shouldReceive('transChoice')->andReturn('Jump Anchor');
30-
29+
3130
$app->singleton('translator', function () use ($translator) {
3231
return $translator;
3332
});
34-
33+
3534
Facade::setFacadeApplication($app);
3635
}
3736
}

0 commit comments

Comments
 (0)