laravel / browser-kit-testing

Provides backwards compatibility for BrowserKit testing in the latest Laravel release.
MIT License
508 stars 75 forks source link

[5.0] Separe unit test #92

Closed ericktucto closed 5 years ago

ericktucto commented 5 years ago

Separating unit tests for the InteractsWithPages and MakesHttpRequests class

On MakesHttpRequestsTest, the methods:

belong to MakesHttpRequests class and the rest of the methods belong to InteractsWithPages

Changes to be committed: copied: tests/Unit/MakesHttpRequestsTest.php -> tests/Unit/InteractsWithPagesTest.php modified: tests/Unit/MakesHttpRequestsTest.php

I moved assertPageLoaded_throw_exception_with_response_exception to InteractsWithPagesTest class