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()
201
201
public function test_can_remove_provider ()
202
202
{
203
203
204
- $ r = file_put_contents ($ this ->tempFile , $ contents = <<< PHP
204
+ file_put_contents ($ this ->tempFile , $ contents = <<< PHP
205
205
<?php
206
206
207
207
return [
@@ -213,11 +213,11 @@ public function test_can_remove_provider()
213
213
ServiceProvider::removeProviderFromBootstrapFile ('TelescopeServiceProvider ' , $ this ->tempFile , true );
214
214
215
215
// Should have deleted nothing
216
- $ this ->assertSame ($ contents , trim (file_get_contents ($ this ->tempFile )));
216
+ $ this ->assertStringEqualsStringIgnoringLineEndings ($ contents , trim (file_get_contents ($ this ->tempFile )));
217
217
218
218
ServiceProvider::removeProviderFromBootstrapFile ('App\Providers\TelescopeServiceProvider ' , $ this ->tempFile , true );
219
219
220
- $ this ->assertSame (<<< PHP
220
+ $ this ->assertStringEqualsStringIgnoringLineEndings (<<< PHP
221
221
<?php
222
222
223
223
return [
@@ -228,7 +228,7 @@ public function test_can_remove_provider()
228
228
229
229
ServiceProvider::removeProviderFromBootstrapFile ('AppServiceProvider ' , $ this ->tempFile );
230
230
231
- $ this ->assertSame (<<< 'PHP'
231
+ $ this ->assertStringEqualsStringIgnoringLineEndings (<<< 'PHP'
232
232
<?php
233
233
234
234
return [
You can’t perform that action at this time.
0 commit comments