summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/breakpoint
diff options
context:
space:
mode:
authorcatch <catch@35733.no-reply.drupal.org>2020-09-01 14:10:13 +0100
committercatch <catch@35733.no-reply.drupal.org>2020-09-01 14:10:13 +0100
commit15de0783ffeff3d197a314665fafeb91f18495b9 (patch)
tree4b4d1cd5487ca28fe2c1e67324c9709b33bf7a6e /core/modules/breakpoint
parentc532b2f9b25de80850700534ce4f993563827c55 (diff)
downloaddrupal-15de0783ffeff3d197a314665fafeb91f18495b9.tar.gz
drupal-15de0783ffeff3d197a314665fafeb91f18495b9.zip
Issue #3101247 by mondrake, longwave, Saurabh_sgh, alexpott, jhedstrom, xjm: Deprecate AssertHelperTrait::castSafeStrings() in favour of MarkupInterfaceComparator
Diffstat (limited to 'core/modules/breakpoint')
-rw-r--r--core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php b/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php
index 495c877a978..e8f9672e811 100644
--- a/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php
+++ b/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php
@@ -192,7 +192,7 @@ class BreakpointDiscoveryTest extends KernelTestBase {
];
$breakpoint_groups = \Drupal::service('breakpoint.manager')->getGroups();
// Ensure the order is as expected. Should be sorted by label.
- $this->assertIdentical($expected, $this->castSafeStrings($breakpoint_groups));
+ $this->assertEquals($expected, $breakpoint_groups);
$expected = [
'breakpoint_theme_test' => 'theme',