[TASK] Fix CGL in tests (static calls) 68/62268/2
authorSusanne Moog <look@susi.dev>
Sun, 10 Nov 2019 06:49:40 +0000 (07:49 +0100)
committerSusanne Moog <look@susi.dev>
Sun, 10 Nov 2019 07:00:05 +0000 (08:00 +0100)
Resolves: #89630
Releases: master
Change-Id: I00021fb1aaf64f2fcc9ee5c8557837c1c90cff4d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62268
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Susanne Moog <look@susi.dev>
Reviewed-by: Susanne Moog <look@susi.dev>
typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php
typo3/sysext/frontend/Tests/Functional/SiteHandling/EnhancerLinkGeneratorTest.php

index ff87d84..fabd9d9 100644 (file)
@@ -477,7 +477,7 @@ class AbstractFinisherTest extends UnitTestCase
             $elementIdentifier2 => $elementValue2
         ]);
 
-        $this->assertSame($expected, $mockAbstractFinisher->_call('substituteRuntimeReferences', $input, $formRuntimeProphecy->reveal()));
+        self::assertSame($expected, $mockAbstractFinisher->_call('substituteRuntimeReferences', $input, $formRuntimeProphecy->reveal()));
     }
 
     /**
index 61bacd1..885d9e3 100644 (file)
@@ -773,6 +773,6 @@ class EnhancerLinkGeneratorTest extends AbstractTestCase
             $this->internalRequestContext
         );
 
-        static::assertSame($expectation, (string)$response->getBody());
+        self::assertSame($expectation, (string)$response->getBody());
     }
 }