@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace BeyondCode\VisualDiff; |
| 4 | 4 | |
| 5 | -use Laravel\Dusk\Browser; |
|
| 6 | -use Illuminate\Support\ServiceProvider; |
|
| 7 | 5 | use Illuminate\Foundation\Testing\TestResponse; |
| 6 | +use Illuminate\Support\ServiceProvider; |
|
| 7 | +use Laravel\Dusk\Browser; |
|
| 8 | 8 | |
| 9 | 9 | class VisualDiffServiceProvider extends ServiceProvider |
| 10 | 10 | { |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace BeyondCode\VisualDiff; |
| 4 | 4 | |
| 5 | 5 | use PHPUnit\Framework\Assert; |
| 6 | -use Spatie\Browsershot\Browsershot; |
|
| 7 | 6 | use PHPUnit\Framework\ExpectationFailedException; |
| 7 | +use Spatie\Browsershot\Browsershot; |
|
| 8 | 8 | |
| 9 | 9 | class VisualDiffTester |
| 10 | 10 | { |
@@ -107,6 +107,9 @@ |
||
| 107 | 107 | ]; |
| 108 | 108 | } |
| 109 | 109 | |
| 110 | + /** |
|
| 111 | + * @param string $filename |
|
| 112 | + */ |
|
| 110 | 113 | public function save($filename) |
| 111 | 114 | { |
| 112 | 115 | $output = $this->callDiff($this->buildSaveCommand($filename)); |