Skip to content

Commit 258afe6

Browse files
committed
#27500 Change annotation for skipped Unit Tests
1 parent 07e92d7 commit 258afe6

File tree

22 files changed

+35
-35
lines changed

22 files changed

+35
-35
lines changed

app/code/Magento/Eav/Test/Unit/Model/Entity/Collection/AbstractCollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public function testRemoveItemByKey($values, $count)
242242
*/
243243
public function testAttributeIdIsInt($values)
244244
{
245-
$this->markTestSkipped('Testing protected / private methods / properties');
245+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
246246
$this->resourceHelperMock->expects($this->any())->method('getLoadAttributesSelectGroups')->willReturn([]);
247247
$this->fetchStrategyMock->expects($this->any())->method('fetchAll')->willReturn($values);
248248
$selectMock = $this->coreResourceMock->getConnection()->select();

app/code/Magento/Eav/Test/Unit/Model/Validator/Attribute/DataTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ public function whiteBlackListProvider()
316316

317317
public function testSetAttributesWhiteList()
318318
{
319-
$this->markTestSkipped('Testing protected / private methods / properties');
319+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
320320

321321
$attributes = ['attr1', 'attr2', 'attr3'];
322322
$attrDataFactory = $this->getMockBuilder(AttributeDataFactory::class)
@@ -335,7 +335,7 @@ public function testSetAttributesWhiteList()
335335

336336
public function testSetAttributesBlackList()
337337
{
338-
$this->markTestSkipped('Testing protected / private methods / properties');
338+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
339339

340340
$attributes = ['attr1', 'attr2', 'attr3'];
341341
$attrDataFactory = $this->getMockBuilder(AttributeDataFactory::class)

app/code/Magento/Theme/Test/Unit/Model/Theme/CollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function testAddConstraintUnsupportedType()
177177
*/
178178
public function testAddConstraint(array $inputValues, array $expected)
179179
{
180-
$this->markTestSkipped('Testing protected / private methods / properties');
180+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
181181

182182
foreach ($inputValues as $data) {
183183
$type = $data[0];

lib/internal/Magento/Framework/Code/Test/Unit/Generator/ClassGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ protected function _assertDocBlockData(
156156
array $expectedDocBlock,
157157
DocBlockGenerator $actualDocBlock
158158
) {
159-
$this->markTestSkipped('Testing protected / private methods / properties');
159+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
160160
// assert plain string data
161161
foreach ($expectedDocBlock as $propertyName => $propertyData) {
162162
if (is_string($propertyData)) {

lib/internal/Magento/Framework/Code/Test/Unit/Generator/EntityAbstractTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function tearDown(): void
6868

6969
public function testConstruct()
7070
{
71-
$this->markTestSkipped('Testing protected / private methods / properties');
71+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
7272

7373
// without parameters
7474
$this->assertAttributeEmpty('_sourceClassName', $this->_model);

lib/internal/Magento/Framework/DB/Test/Unit/ProfilerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ protected function setUp(): void
2828

2929
public function testSetHost()
3030
{
31-
$this->markTestSkipped('Testing protected / private methods / properties');
31+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
3232
$this->_profiler->setHost('localhost');
3333
$this->assertAttributeEquals('localhost', '_host', $this->_profiler);
3434
}
3535

3636
public function testSetType()
3737
{
38-
$this->markTestSkipped('Testing protected / private methods / properties');
38+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
3939
$this->_profiler->setType('mysql');
4040
$this->assertAttributeEquals('mysql', '_type', $this->_profiler);
4141
}
@@ -48,7 +48,7 @@ public function testQueryStart()
4848

4949
public function testQueryEnd()
5050
{
51-
$this->markTestSkipped('Testing protected / private methods / properties');
51+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
5252
$lastQueryId = $this->_profiler->queryStart('SELECT * FROM table');
5353
$endResult = $this->_profiler->queryEnd($lastQueryId);
5454
$this->assertAttributeEquals(null, '_lastQueryId', $this->_profiler);
@@ -57,7 +57,7 @@ public function testQueryEnd()
5757

5858
public function testQueryEndLast()
5959
{
60-
$this->markTestSkipped('Testing protected / private methods / properties');
60+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
6161
$this->_profiler->queryStart('SELECT * FROM table');
6262
$endResult = $this->_profiler->queryEndLast();
6363
$this->assertAttributeEquals(null, '_lastQueryId', $this->_profiler);

lib/internal/Magento/Framework/Data/Test/Unit/CollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function testLoadWithFilter()
6565
*/
6666
public function testSetItemObjectClass($class)
6767
{
68-
$this->markTestSkipped('Testing protected / private methods / properties');
68+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
6969

7070
$this->_model->setItemObjectClass($class);
7171
$this->assertAttributeSame($class, '_itemObjectClass', $this->_model);

lib/internal/Magento/Framework/Model/Test/Unit/ResourceModel/Type/Db/Pdo/MysqlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected function setUp(): void
4646
*/
4747
public function testConstructor(array $inputConfig, array $expectedConfig)
4848
{
49-
$this->markTestSkipped('Testing protected / private methods / properties');
49+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
5050

5151
$object = new Mysql(
5252
$inputConfig,

lib/internal/Magento/Framework/Module/Test/Unit/Setup/MigrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function whereCallback($condition)
149149
*/
150150
public function testAppendClassAliasReplace()
151151
{
152-
$this->markTestSkipped('Testing protected / private methods / properties');
152+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
153153

154154
$setupMock = $this->getMockForAbstractClass(ModuleDataSetupInterface::class);
155155
$filesystemMock = $this->createMock(Filesystem::class);

lib/internal/Magento/Framework/Profiler/Test/Unit/Driver/FactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ protected function setUp(): void
3838

3939
public function testConstructor()
4040
{
41-
$this->markTestSkipped('Testing protected / private methods / properties');
41+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
4242

4343
$this->assertAttributeEquals($this->_defaultDriverPrefix, '_defaultDriverPrefix', $this->_factory);
4444
$this->assertAttributeEquals($this->_defaultDriverType, '_defaultDriverType', $this->_factory);
4545
}
4646

4747
public function testDefaultConstructor()
4848
{
49-
$this->markTestSkipped('Testing protected / private methods / properties');
49+
$this->markTestSkipped('Skipped in #27500 due to testing protected/private methods and properties');
5050

5151
$factory = new Factory();
5252
$this->assertAttributeNotEmpty('_defaultDriverPrefix', $factory);

0 commit comments

Comments
 (0)