diff --git a/tests/src/Functional/SchedulerPermissionsTest.php b/tests/src/Functional/SchedulerPermissionsTest.php
index 2dbb46b..1ad9f1b 100644
--- a/tests/src/Functional/SchedulerPermissionsTest.php
+++ b/tests/src/Functional/SchedulerPermissionsTest.php
@@ -108,7 +108,7 @@ class SchedulerPermissionsTest extends SchedulerBrowserTestBase {
     ]);
 
     // Verify that the publish_on date is stored as expected before editing.
-    $this->assertEqual($unpublished_node->publish_on->value, $publish_time, 'The publish_on value is stored correctly before edit.');
+    $this->assertEquals($unpublished_node->publish_on->value, $publish_time, 'The publish_on value is stored correctly before edit.');
 
     // Edit the unpublished node and save.
     $title = 'For Publishing ' . $this->randomString(10);
@@ -116,14 +116,14 @@ class SchedulerPermissionsTest extends SchedulerBrowserTestBase {
 
     // Check the updated title, to verify that edit and save was sucessful.
     $unpublished_node = $this->nodeStorage->load($unpublished_node->id());
-    $this->assertEqual($unpublished_node->title->value, $title, 'The unpublished node title has been updated correctly after edit.');
+    $this->assertEquals($unpublished_node->title->value, $title, 'The unpublished node title has been updated correctly after edit.');
 
     // Test that the publish_on date is still stored and is unchanged.
-    $this->assertEqual($unpublished_node->publish_on->value, $publish_time, 'The node publish_on value is still stored correctly after edit.');
+    $this->assertEquals($unpublished_node->publish_on->value, $publish_time, 'The node publish_on value is still stored correctly after edit.');
 
     // Do the same for unpublishing.
     // Verify that the unpublish_on date is stored as expected before editing.
-    $this->assertEqual($published_node->unpublish_on->value, $unpublish_time, 'The unpublish_on value is stored correctly before edit.');
+    $this->assertEquals($published_node->unpublish_on->value, $unpublish_time, 'The unpublish_on value is stored correctly before edit.');
 
     // Edit the published node and save.
     $title = 'For Unpublishing ' . $this->randomString(10);
@@ -131,10 +131,10 @@ class SchedulerPermissionsTest extends SchedulerBrowserTestBase {
 
     // Check the updated title, to verify that edit and save was sucessful.
     $published_node = $this->nodeStorage->load($published_node->id());
-    $this->assertEqual($published_node->title->value, $title, 'The published node title has been updated correctly after edit.');
+    $this->assertEquals($published_node->title->value, $title, 'The published node title has been updated correctly after edit.');
 
     // Test that the unpublish_on date is still stored and is unchanged.
-    $this->assertEqual($published_node->unpublish_on->value, $unpublish_time, 'The node unpublish_on value is still stored correctly after edit.');
+    $this->assertEquals($published_node->unpublish_on->value, $unpublish_time, 'The node unpublish_on value is still stored correctly after edit.');
 
   }
 
diff --git a/tests/src/Functional/SchedulerRevisioningTest.php b/tests/src/Functional/SchedulerRevisioningTest.php
index a4d7711..f075d8f 100644
--- a/tests/src/Functional/SchedulerRevisioningTest.php
+++ b/tests/src/Functional/SchedulerRevisioningTest.php
@@ -157,7 +157,7 @@ class SchedulerRevisioningTest extends SchedulerBrowserTestBase {
     $node = $this->schedule($node, 'publish');
     // Check that the created date has changed to match the publish_on date.
     $created_after_cron = $node->created->value;
-    $this->assertEqual(strtotime('-5 hour', $this->requestTime), $created_after_cron, "With 'touch' option set, the node creation date is changed to match the publishing date.");
+    $this->assertEquals(strtotime('-5 hour', $this->requestTime), $created_after_cron, "With 'touch' option set, the node creation date is changed to match the publishing date.");
 
   }
 
