title: Laravel test unable to find a file at path using Storage::fake()
body: <p>I have created my own 'disk' in <code>config/filesystems.php</code> which looks like so;</p>
  
  <pre><code>'uploads' =&gt; [
      'driver' =&gt; 'local',
      'root' =&gt; storage_path('app/public') . '/uploads'
  ],
  </code></pre>
  
  <p>This seems to work fine when in my controller, it uploads the file and returns a response. my code is as follows;</p>
  
  <pre><code>public function store(Request $request)
  {
      if ($request-&gt;hasFile('filename')) {
          foreach ($request-&gt;file('filename') as $image) {
              $fileName = md5($image . microtime()) . '.' . $image-&gt;getClientOriginalExtension();
              $image-&gt;storeAs('', $fileName, 'uploads');
          }
      }
  
      // return goes here
  }
  </code></pre>
  
  <p>but when I go to test my store method using the following code;</p>
  
  <pre><code>public function testUserCanSuccessfullySubmitSingleImage(): void
  {
      Storage::fake('uploads');
  
      $this-&gt;postJson('/upload', [
          'filename' =&gt; UploadedFile::fake()-&gt;image('image1.jpg')
      ]);
  
      Storage::disk('uploads')-&gt;assertExists('image1.jpg');
      Storage::disk('uploads')-&gt;assertMissing('missing.jpg');
  }
  </code></pre>
  
  <p>I get the following error;</p>
  
  <pre><code>Unable to find a file at path [image1.jpg].
  Failed asserting that false is true.
  </code></pre>
  
  <p>I have followed a few tutorials, but they all say the same thing and im really lost.</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Cheers</p>