10-04-2026
This commit is contained in:
parent
4d6b4930b2
commit
4bb89aad8c
836 changed files with 52961 additions and 5950 deletions
33
tests/Feature/MagazinPageTest.php
Normal file
33
tests/Feature/MagazinPageTest.php
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
it('magazin list page loads successfully', function () {
|
||||
$this->get('/magazin')
|
||||
->assertSuccessful()
|
||||
->assertSee('Magazin');
|
||||
});
|
||||
|
||||
it('magazin list shows all five articles', function () {
|
||||
$this->get('/magazin')
|
||||
->assertSuccessful()
|
||||
->assertSee('Escrow-System')
|
||||
->assertSee('Al Jaddaf')
|
||||
->assertSee('Turnkey-Investments')
|
||||
->assertSee('Supply-Chain-Management')
|
||||
->assertSee('Local for Local');
|
||||
});
|
||||
|
||||
it('magazin detail page loads for article 1', function () {
|
||||
$this->get('/magazin/1')
|
||||
->assertSuccessful()
|
||||
->assertSee('Escrow-System')
|
||||
->assertSee('Dubai Land Department');
|
||||
});
|
||||
|
||||
it('magazin detail page loads for article 5', function () {
|
||||
$this->get('/magazin/5')
|
||||
->assertSuccessful()
|
||||
->assertSee('Local for Local')
|
||||
->assertSee('Support your Locals');
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue