You are here

public function LegacyLibraryDiscoveryTest::testJqueryUiEffectsDrop in Drupal 8

Tests that the jquery.ui.effects.drop library is deprecated.

@expectedDeprecation The "core/jquery.ui.effects.drop" asset library is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. See https://www.drupal.org/node/3067969 @doesNotPerformAssertions

File

core/tests/Drupal/KernelTests/Core/Asset/LegacyLibraryDiscoveryTest.php, line 116

Class

LegacyLibraryDiscoveryTest
Tests that deprecated asset libraries trigger a deprecation error.

Namespace

Drupal\KernelTests\Core\Asset

Code

public function testJqueryUiEffectsDrop() {
  $this->libraryDiscovery
    ->getLibraryByName('core', 'jquery.ui.effects.drop');
}