Skip to content

Commit 8bf2054

Browse files
Fix code styling
1 parent e48b830 commit 8bf2054

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

tests/Feature/Article/SendTelegramNotificationTest.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
declare(strict_types=1);
44

55
use App\Livewire\Articles\Create;
6-
use Livewire\Livewire;
76
use App\Models\User;
7+
use Livewire\Livewire;
88

9-
test('Send notification on telegram after submition on article',function(){
10-
// 1- se rassurer que le user est bien connecté
9+
test('Send notification on telegram after submition on article', function (): void {
10+
// 1- se rassurer que le user est bien connecté
1111
$user = User::factory()->create();
12-
// 2- soumission d'article par le user connecté
12+
// 2- soumission d'article par le user connecté
1313
Livewire::actingAs($user)->test(Create::class)
14-
->set('title', 'Test Article')
15-
->set('slug', 'test-article')
16-
->set('body', 'This is a test article')
17-
->set('published_at', now())
18-
->set('submitted_at', null)
19-
->set('approved_at', null)
20-
->set('show_toc', true)
21-
->set('canonical_url', 'https://laravel.cm')
22-
->set('associateTags', ['tag1', 'tag2'])
23-
->store();
14+
->set('title', 'Test Article')
15+
->set('slug', 'test-article')
16+
->set('body', 'This is a test article')
17+
->set('published_at', now())
18+
->set('submitted_at', null)
19+
->set('approved_at', null)
20+
->set('show_toc', true)
21+
->set('canonical_url', 'https://laravel.cm')
22+
->set('associateTags', ['tag1', 'tag2'])
23+
->store();
2424

25-
// 3- Envois de la notification au modérateur sur un channel telegram
25+
// 3- Envois de la notification au modérateur sur un channel telegram
2626

2727
});

0 commit comments

Comments
 (0)