diff --git a/tests/src/Functional/LibrariesWebTest.php b/tests/src/Functional/LibrariesWebTest.php index 89e2ae0a8a5a7bdffcc55ef28bad70e57364e683..f89eab5956e4e6994d80af4d58979037ec2e58a6 100644 --- a/tests/src/Functional/LibrariesWebTest.php +++ b/tests/src/Functional/LibrariesWebTest.php @@ -125,16 +125,6 @@ class LibrariesWebTest extends BrowserTestBase { 'post-load callback' => 'not applied', 'module' => 'libraries_test', ]; - - // Test a callback in the 'info' group. - $expected['info callback'] = 'applied (top-level)'; - $expected['versions']['1']['info callback'] = 'applied (version 1)'; - $expected['versions']['1']['variants']['example_variant']['info callback'] = 'applied (version 1, variant example_variant)'; - $expected['variants']['example_variant']['info callback'] = 'applied (variant example_variant)'; - $library = \Drupal::service('libraries.manager')->info('example_callback'); - dump('Expected:<pre>' . var_export($expected, TRUE) . '</pre>'); - dump('Actual:<pre>' . var_export($library, TRUE) . '</pre>'); - $this->assertEquals($library, $expected, 'Prepare callback was applied correctly.'); // Test a callback in the 'pre-detect' and 'post-detect' phases. // Successfully detected libraries should only contain version information