Skip to content

Symbolic link seems to be breaking on Docker Desktop for Windows #86

Description

@everett-ripley

Location: public/storage

Docker Desktop on Windows creates a file in place of the symbolic link that's supposed to go here.

This seems to be a cause of the following unit test failing:

PHPUnit 9.6.21 by Sebastian Bergmann and contributors.

.......E....................................................      60 / 60 (100%)

Time: 00:15.057, Memory: 46.50 MB

There was 1 error:

1) Tests\Feature\Http\Controllers\FormsControllerTest::it_sends_a_confirmation_email_to_applicant_when_application_is_submitted
ErrorException: file_put_contents(/app/public/storage/images/users/625023a9563dfed39b10a5e25f79b1db.png): Failed to open stream: No such file or directory

/app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:270
/app/app/Http/Controllers/ImageController.php:95
/app/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php:259
/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798
/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141
/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116
/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:797
/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:776
/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:740
/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:729
/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:190
/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141
/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116
/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165
/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134
/app/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php:556
/app/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php:352
/app/tests/Feature/Http/Controllers/FormsControllerTest.php:24
/app/tests/Feature/Http/Controllers/FormsControllerTest.php:62

ERRORS!
Tests: 60, Assertions: 104, Errors: 1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions