File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -28,22 +28,22 @@ Provides Laravel-specific testing helpers and asserts.
2828
29292. That' s it! Now you can use any of provided traits in your test classes.
3030
31- ```php
32- use Illuminated\Testing\Asserts\PageAsserts;
33-
34- class HomePageTest extends TestCase
35- {
36- use PageAsserts;
31+ ```php
32+ use Illuminated\Testing\Asserts\PageAsserts;
3733
38- /** @test */
39- public function it_shows_three_featured_products()
34+ class HomePageTest extends TestCase
4035 {
41- $this->visit(' /' );
36+ use PageAsserts;
37+
38+ /** @test */
39+ public function it_shows_three_featured_products()
40+ {
41+ $this->visit(' /' );
4242
43- $this->seeElementTimes(' .featured-product' , 3);
43+ $this->seeElementTimes(' .featured-product' , 3);
44+ }
4445 }
45- }
46- ```
46+ ```
4747
4848## Available helpers
4949
You can’t perform that action at this time.
0 commit comments