magento2-docker/dev/tests/api-functional/testsuite/Magento/TestModuleOverrideConfig/Skip/SkipMethodTest.php

29 lines
693 B
PHP
Executable File

<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\TestModuleOverrideConfig\Skip;
use Magento\TestModuleOverrideConfig\AbstractOverridesTest;
/**
* Class checks that test method can be skipped using override config
*
* @magentoAppIsolation enabled
*/
class SkipMethodTest extends AbstractOverridesTest
{
/**
* This test should not be executed according to override config it should be mark as skipped
*
* @return void
*/
public function testMethodSkip(): void
{
$this->fail('This test should be skipped via override config in method node');
}
}