diff --git a/tests/SettingsTest.php b/tests/SettingsTest.php
index 947aa7c..291ace8 100644
--- a/tests/SettingsTest.php
+++ b/tests/SettingsTest.php
@@ -91,7 +91,7 @@ public function a_notice_should_be_shown_if_there_have_been_orders_in_the_curren
$limiter = new OrderLimiter();
$limiter->init();
- $this->assertStringContainsString(
+ $this->assertContains(
'
',
$this->get_setting_by_id( 'limit-orders-general', new Settings( $limiter ) )['desc'],
'Expected to see a notice about limits being recalculated.'
@@ -111,7 +111,7 @@ public function a_notice_should_not_be_shown_if_there_have_not_been_any_orders_i
$limiter = new OrderLimiter();
$limiter->init();
- $this->assertStringNotContainsString(
+ $this->assertNotContains(
'
',
$this->get_setting_by_id( 'limit-orders-general', new Settings( $limiter ) )['desc'],
'Did not expect to see a notice about limits being recalculated.'