File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function testGetIcuStubVersionReadsTheVersionOfBundledStubs()
61
61
62
62
public function testGetDataDirectoryReturnsThePathToIcuData ()
63
63
{
64
- $ this ->assertTrue ( is_dir ( Intl::getDataDirectory () ));
64
+ $ this ->assertDirectoryExists ( Intl::getDataDirectory ());
65
65
}
66
66
67
67
/**
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public function testItClonesTheRepository()
51
51
$ git = GitRepository::download (self ::REPO_URL , $ this ->targetDir );
52
52
53
53
$ this ->assertInstanceOf (GitRepository::class, $ git );
54
- $ this ->assertTrue ( is_dir ( $ this ->targetDir .'/.git ' ) );
54
+ $ this ->assertDirectoryExists ( $ this ->targetDir .'/.git ' );
55
55
$ this ->assertSame ($ this ->targetDir , $ git ->getPath ());
56
56
$ this ->assertSame (self ::REPO_URL , $ git ->getUrl ());
57
57
$ this ->assertRegExp ('#^[0-9a-z]{40}$# ' , $ git ->getLastCommitHash ());
You can’t perform that action at this time.
0 commit comments