Skip to content

Commit a4b598c

Browse files
committed
feat(editor): added test to ensure redirect to the homepage works
1 parent f8705a1 commit a4b598c

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace Tests\Feature\app\Http\Controllers;
4+
5+
use Tests\TestCase;
6+
7+
class EditorControllerTest extends TestCase
8+
{
9+
public function test_show_redirects_user_to_homepage()
10+
{
11+
$this->get('/editor')
12+
->assertRedirect('/');
13+
}
14+
}

0 commit comments

Comments
 (0)