Skip to content

Commit

Permalink
Merge branch '4.4' into 5.1
Browse files Browse the repository at this point in the history
* 4.4:
  Use createMock() and use import instead of FQCN
  • Loading branch information
nicolas-grekas committed Jan 27, 2021
2 parents 03ff881 + 25d79cf commit 196f457
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/FinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

namespace Symfony\Component\Finder\Tests;

use Symfony\Component\Finder\Exception\DirectoryNotFoundException;
use Symfony\Component\Finder\Finder;

class FinderTest extends Iterator\RealIteratorTestCase
Expand Down Expand Up @@ -922,7 +923,7 @@ public function testIn()

public function testInWithNonExistentDirectory()
{
$this->expectException(\Symfony\Component\Finder\Exception\DirectoryNotFoundException::class);
$this->expectException(DirectoryNotFoundException::class);
$finder = new Finder();
$finder->in('foobar');
}
Expand Down

0 comments on commit 196f457

Please sign in to comment.