summaryrefslogtreecommitdiffstats
path: root/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointTestBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointTestBase.php')
-rw-r--r--core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointTestBase.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointTestBase.php b/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointTestBase.php
index 89d0cc1..aac96c9 100644
--- a/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointTestBase.php
+++ b/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointTestBase.php
@@ -38,14 +38,14 @@ abstract class BreakpointTestBase extends WebTestBase {
'multipliers',
);
- // Verify breakpoint_load().
- $compare_breakpoint = is_null($compare_breakpoint) ? breakpoint_load($breakpoint->id()) : $compare_breakpoint;
+ // Verify Breakpoint::load().
+ $compare_breakpoint = is_null($compare_breakpoint) ? Breakpoint::load($breakpoint->id()) : $compare_breakpoint;
foreach ($properties as $property) {
$t_args = array(
'%breakpoint' => $breakpoint->label(),
'%property' => $property,
);
- $this->assertEqual($compare_breakpoint->{$property}, $breakpoint->{$property}, format_string('breakpoint_load: Proper %property for breakpoint %breakpoint.', $t_args), 'Breakpoint API');
+ $this->assertEqual($compare_breakpoint->{$property}, $breakpoint->{$property}, format_string('Proper %property for breakpoint %breakpoint.', $t_args), 'Breakpoint API');
}
}
}