File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ public function testLoadTranslationsFromWithNamespace()
201201 public function test_can_remove_provider ()
202202 {
203203
204- $ r = file_put_contents ($ this ->tempFile , $ contents = <<< PHP
204+ file_put_contents ($ this ->tempFile , $ contents = <<< PHP
205205<?php
206206
207207return [
@@ -213,11 +213,11 @@ public function test_can_remove_provider()
213213 ServiceProvider::removeProviderFromBootstrapFile ('TelescopeServiceProvider ' , $ this ->tempFile , true );
214214
215215 // Should have deleted nothing
216- $ this ->assertSame ($ contents , trim (file_get_contents ($ this ->tempFile )));
216+ $ this ->assertStringEqualsStringIgnoringLineEndings ($ contents , trim (file_get_contents ($ this ->tempFile )));
217217
218218 ServiceProvider::removeProviderFromBootstrapFile ('App\Providers\TelescopeServiceProvider ' , $ this ->tempFile , true );
219219
220- $ this ->assertSame (<<< PHP
220+ $ this ->assertStringEqualsStringIgnoringLineEndings (<<< PHP
221221<?php
222222
223223return [
@@ -228,7 +228,7 @@ public function test_can_remove_provider()
228228
229229 ServiceProvider::removeProviderFromBootstrapFile ('AppServiceProvider ' , $ this ->tempFile );
230230
231- $ this ->assertSame (<<< 'PHP'
231+ $ this ->assertStringEqualsStringIgnoringLineEndings (<<< 'PHP'
232232<?php
233233
234234return [
You can’t perform that action at this time.
0 commit comments