diff options
| author | Sam Light <samlight1994@gmail.com> | 2026-01-30 10:09:55 +0000 |
|---|---|---|
| committer | Sam Light <samlight1994@gmail.com> | 2026-01-30 10:09:55 +0000 |
| commit | ce8068292cc90e32f93aad353891be5e5108d945 (patch) | |
| tree | 67eef7efd29437a724bdd096052e551b81b15fdf | |
| parent | 1882d25b01ff8e3fefc1848052a82fe1da5fa17b (diff) | |
| -rw-r--r-- | tests/Feature/RouteTest.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/Feature/RouteTest.php b/tests/Feature/RouteTest.php new file mode 100644 index 0000000..c491d1f --- /dev/null +++ b/tests/Feature/RouteTest.php @@ -0,0 +1,17 @@ +<?php + +it('renders the products page', function () { + $this->get('/products')->assertOk(); +}); + +it('renders the categories page', function () { + $this->get('/categories')->assertOk(); +}); + +it('renders the orders page', function () { + $this->get('/orders')->assertOk(); +}); + +it('redirects home to products', function () { + $this->get('/')->assertRedirect('/products'); +}); |
