@@ -42,19 +42,19 @@ public function testGetFileName()
4242 {
4343 $ expected = 'file.php ' ;
4444
45- $ this ->assertEquals ($ expected , $ this ->file ->getFileName ());
45+ $ this ->assertSame ($ expected , $ this ->file ->getFileName ());
4646 }
4747
4848 public function testGetRelativePath ()
4949 {
50- $ this ->assertEquals ($ this ->filePath , $ this ->file ->getRelativePath ());
50+ $ this ->assertSame ($ this ->filePath , $ this ->file ->getRelativePath ());
5151 }
5252
5353 public function testGetFullPathWithNoCachedPath ()
5454 {
5555 $ expected = $ this ->projectPath . '/ ' . $ this ->filePath ;
5656
57- $ this ->assertEquals ($ expected , $ this ->file ->getFullPath ());
57+ $ this ->assertSame ($ expected , $ this ->file ->getFullPath ());
5858 }
5959
6060 public function testGetFullPathWithCachedPath ()
@@ -63,7 +63,7 @@ public function testGetFullPathWithCachedPath()
6363
6464 $ this ->file ->setCachedPath ($ path );
6565
66- $ this ->assertEquals ($ path , $ this ->file ->getFullPath ());
66+ $ this ->assertSame ($ path , $ this ->file ->getFullPath ());
6767 }
6868
6969 public function testGetCachedPath ()
@@ -74,7 +74,7 @@ public function testGetCachedPath()
7474
7575 $ result = $ this ->file ->setCachedPath ($ path );
7676
77- $ this ->assertEquals ($ path , $ this ->file ->getCachedPath ());
77+ $ this ->assertSame ($ path , $ this ->file ->getCachedPath ());
7878 }
7979
8080 public function testSetCachedPath ()
@@ -83,21 +83,21 @@ public function testSetCachedPath()
8383
8484 $ path = '/Test ' ;
8585
86- $ this ->assertEquals ($ this ->file , $ this ->file ->setCachedPath ($ path ));
86+ $ this ->assertSame ($ this ->file , $ this ->file ->setCachedPath ($ path ));
8787
88- $ this ->assertEquals ($ path , $ this ->file ->getCachedPath ());
88+ $ this ->assertSame ($ path , $ this ->file ->getCachedPath ());
8989 }
9090
9191 public function testGetExtension ()
9292 {
9393 $ expected = pathinfo ($ this ->filePath , PATHINFO_EXTENSION );
9494
95- $ this ->assertEquals ($ expected , $ this ->file ->getExtension ());
95+ $ this ->assertSame ($ expected , $ this ->file ->getExtension ());
9696 }
9797
9898 public function testGetStatus ()
9999 {
100- $ this ->assertEquals ($ this ->fileStatus , $ this ->file ->getStatus ());
100+ $ this ->assertSame ($ this ->fileStatus , $ this ->file ->getStatus ());
101101 }
102102
103103 public function testGetFormattedStatus ()
0 commit comments