Completed
Pull Request — master (#44)
by
unknown
15:39 queued 13:50
created
tests/Doctrine/Tests/Persistence/Mapping/FileDriverTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         $locator->expects($this->once())
37 37
                 ->method('findMappingFile')
38 38
                 ->with($this->equalTo('stdClass'))
39
-                ->will($this->returnValue(__DIR__ . '/_files/stdClass.yml'));
39
+                ->will($this->returnValue(__DIR__.'/_files/stdClass.yml'));
40 40
 
41 41
         $driver = new TestFileDriver($locator);
42 42
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $locator->expects($this->once())
52 52
             ->method('findMappingFile')
53 53
             ->with($this->equalTo('stdClass'))
54
-            ->will($this->returnValue(__DIR__ . '/_files/stdClass.yml'));
54
+            ->will($this->returnValue(__DIR__.'/_files/stdClass.yml'));
55 55
 
56 56
         $driver = new TestFileDriver($locator);
57 57
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 
149 149
     public function testNonLocatorFallback() : void
150 150
     {
151
-        $driver = new TestFileDriver(__DIR__ . '/_files', '.yml');
151
+        $driver = new TestFileDriver(__DIR__.'/_files', '.yml');
152 152
         self::assertTrue($driver->isTransient('stdClass2'));
153 153
         self::assertFalse($driver->isTransient('stdClass'));
154 154
     }
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     {
158 158
         $locator = $this->createMock(FileLocator::class);
159 159
         $locator->expects($this->any())->method('getFileExtension')->will($this->returnValue('.yml'));
160
-        $locator->expects($this->any())->method('getPaths')->will($this->returnValue([__DIR__ . '/_files']));
160
+        $locator->expects($this->any())->method('getPaths')->will($this->returnValue([__DIR__.'/_files']));
161 161
 
162 162
         return $locator;
163 163
     }
Please login to merge, or discard this patch.