class TourTipLegacyTest

Same name in other branches
  1. 11.x core/modules/tour/tests/src/Kernel/TourTipLegacyTest.php \Drupal\Tests\tour\Kernel\TourTipLegacyTest

@coversDefaultClass \Drupal\tour\TourTipPluginInterface @group tour @group legacy

Hierarchy

  • class \Drupal\Tests\tour\Kernel\TourTipLegacyTest extends \PHPUnit\Framework\TestCase uses \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait

Expanded class hierarchy of TourTipLegacyTest

File

core/modules/tour/tests/src/Kernel/TourTipLegacyTest.php, line 16

Namespace

Drupal\Tests\tour\Kernel
View source
class TourTipLegacyTest extends TestCase {
    use ExpectDeprecationTrait;
    public function testPluginHelperDeprecation() : void {
        $this->expectDeprecation('The Drupal\\tour\\TourTipPluginInterface is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Implement Drupal\\tour\\TipPluginInterface instead. See https://www.drupal.org/node/3340701');
        $plugin = $this->createMock(TourTipPluginInterface::class);
        $this->assertInstanceOf(TourTipPluginInterface::class, $plugin);
    }

}

Members

Title Sort descending Modifiers Object type Summary
TourTipLegacyTest::testPluginHelperDeprecation public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.