Skip to content

Commit 59acdde

Browse files
committed
sonar 5
1 parent 1b8c55e commit 59acdde

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/unit/Mage/Tax/Helper/DataTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class DataTest extends OpenMageTest
3030

3131
private static Subject $subject;
3232

33+
public const SKIP_INCOMPLETE = 'incomplete';
3334
public const SKIP_WITH_LOCAL_DATA = 'Constant DATA_MAY_CHANGED is defined.';
3435

3536
public static function setUpBeforeClass(): void
@@ -71,7 +72,7 @@ public function testGetCalculator(): void
7172
*/
7273
public function testGetProductPrice(): void
7374
{
74-
static::markTestSkipped();
75+
static::markTestSkipped(self::SKIP_INCOMPLETE);
7576
/** @phpstan-ignore deadCode.unreachable */
7677
static::assertSame('', self::$subject->getProductPrice());
7778
}
@@ -130,7 +131,7 @@ public function testNeedPriceConversion(): void
130131
*/
131132
public function testGetPriceFormat(): void
132133
{
133-
static::markTestSkipped();
134+
static::markTestSkipped(self::SKIP_INCOMPLETE);
134135
/** @phpstan-ignore deadCode.unreachable */
135136
static::assertSame('', self::$subject->getPriceFormat());
136137
}
@@ -163,7 +164,7 @@ public function testGetAllRatesByProductClass(): void
163164
*/
164165
public function testGetPrice(): void
165166
{
166-
static::markTestSkipped();
167+
static::markTestSkipped(self::SKIP_INCOMPLETE);
167168
/** @phpstan-ignore deadCode.unreachable */
168169
static::assertFalse(self::$subject->getPrice());
169170
}

0 commit comments

Comments
 (0)