diff --git a/tests/src/Kernel/LinkbackServiceTest.php b/tests/src/Kernel/LinkbackServiceTest.php
index b514976..ea69598 100644
--- a/tests/src/Kernel/LinkbackServiceTest.php
+++ b/tests/src/Kernel/LinkbackServiceTest.php
@@ -121,7 +121,7 @@ function testGetLocalUrl()
 
         $aliasStorage->save($path['source'], $path['alias']);
 
-        $this->assertEqual($this->linkbackService->getLocalUrl($node_id), 'http://localhost/node/1', "This local url without translations is not expected");
+        $this->assertEquals($this->linkbackService->getLocalUrl($node_id), 'http://localhost/node/1', "This local url without translations is not expected");
         $this->assertContains('http://localhost/node/1', $this->linkbackService->getLocalUrl($node_id, true), "Expected url not found");
         $this->assertContains('/node/1', $this->linkbackService->getLocalUrl($node_id, true), "Expected url not found");
         $this->assertContains('/mutual_aid', $this->linkbackService->getLocalUrl($node_id, true), "Expected url not found");
diff --git a/tests/src/Kernel/LinkbackValidationTest.php b/tests/src/Kernel/LinkbackValidationTest.php
index 50aa390..80c060e 100644
--- a/tests/src/Kernel/LinkbackValidationTest.php
+++ b/tests/src/Kernel/LinkbackValidationTest.php
@@ -84,66 +84,66 @@ public function testFieldValidation() {
     ]);
 
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 0, 'No violations when validating a default linkback.');
+    $this->assertEquals(count($violations), 0, 'No violations when validating a default linkback.');
 
     $linkback->set('url', NULL);
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when URL is not set.');
-    $this->assertEqual($violations[0]->getPropertyPath(), 'url');
-    $this->assertEqual($violations[0]->getMessage(), 'This value should not be null.');
+    $this->assertEquals(count($violations), 1, 'Violation found when URL is not set.');
+    $this->assertEquals($violations[0]->getPropertyPath(), 'url');
+    $this->assertEquals($violations[0]->getMessage(), 'This value should not be null.');
 
     $linkback->set('url', '');
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when URL is set to an empty string.');
-    $this->assertEqual($violations[0]->getPropertyPath(), 'url');
+    $this->assertEquals(count($violations), 1, 'Violation found when URL is set to an empty string.');
+    $this->assertEquals($violations[0]->getPropertyPath(), 'url');
 
     $linkback->set('url', 'http://example.com');
     $linkback->set('title', $this->randomString(256));
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when title is too long.');
-    $this->assertEqual($violations[0]->getPropertyPath(), 'title.0.value');
-    $this->assertEqual($violations[0]->getMessage(), '<em class="placeholder">Title</em>: may not be longer than 255 characters.');
+    $this->assertEquals(count($violations), 1, 'Violation found when title is too long.');
+    $this->assertEquals($violations[0]->getPropertyPath(), 'title.0.value');
+    $this->assertEquals($violations[0]->getMessage(), '<em class="placeholder">Title</em>: may not be longer than 255 characters.');
 
     $linkback->set('title', NULL);
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when title is not set.');
-    $this->assertEqual($violations[0]->getPropertyPath(), 'title');
-    $this->assertEqual($violations[0]->getMessage(), 'This value should not be null.');
+    $this->assertEquals(count($violations), 1, 'Violation found when title is not set.');
+    $this->assertEquals($violations[0]->getPropertyPath(), 'title');
+    $this->assertEquals($violations[0]->getMessage(), 'This value should not be null.');
 
     $linkback->set('title', '');
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when title is set to an empty string.');
-    $this->assertEqual($violations[0]->getPropertyPath(), 'title');
+    $this->assertEquals(count($violations), 1, 'Violation found when title is set to an empty string.');
+    $this->assertEquals($violations[0]->getPropertyPath(), 'title');
 
     $linkback->set('title', 'Test');
     $linkback->set('excerpt', NULL);
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when excerpt is not set.');
-    $this->assertEqual($violations[0]->getPropertyPath(), 'excerpt');
-    $this->assertEqual($violations[0]->getMessage(), 'This value should not be null.');
+    $this->assertEquals(count($violations), 1, 'Violation found when excerpt is not set.');
+    $this->assertEquals($violations[0]->getPropertyPath(), 'excerpt');
+    $this->assertEquals($violations[0]->getMessage(), 'This value should not be null.');
 
     $linkback->set('excerpt', '');
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when excerpt is set to an empty string.');
-    $this->assertEqual($violations[0]->getPropertyPath(), 'excerpt');
+    $this->assertEquals(count($violations), 1, 'Violation found when excerpt is set to an empty string.');
+    $this->assertEquals($violations[0]->getPropertyPath(), 'excerpt');
 
     $linkback->set('excerpt', 'Test');
     $linkback->set('handler', $this->randomString(256));
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when handler is too long.');
-    $this->assertEqual($violations[0]->getPropertyPath(), 'handler.0.value');
-    $this->assertEqual($violations[0]->getMessage(), '<em class="placeholder">Handler</em>: may not be longer than 255 characters.');
+    $this->assertEquals(count($violations), 1, 'Violation found when handler is too long.');
+    $this->assertEquals($violations[0]->getPropertyPath(), 'handler.0.value');
+    $this->assertEquals($violations[0]->getMessage(), '<em class="placeholder">Handler</em>: may not be longer than 255 characters.');
 
     $linkback->set('handler', NULL);
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when handler is not set.');
-    $this->assertEqual($violations[0]->getPropertyPath(), 'handler');
-    $this->assertEqual($violations[0]->getMessage(), 'This value should not be null.');
+    $this->assertEquals(count($violations), 1, 'Violation found when handler is not set.');
+    $this->assertEquals($violations[0]->getPropertyPath(), 'handler');
+    $this->assertEquals($violations[0]->getMessage(), 'This value should not be null.');
 
     $linkback->set('handler', '');
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when handler is set to an empty string.');
-    $this->assertEqual($violations[0]->getPropertyPath(), 'handler');
+    $this->assertEquals(count($violations), 1, 'Violation found when handler is set to an empty string.');
+    $this->assertEquals($violations[0]->getPropertyPath(), 'handler');
 
     $linkback->set('handler', 'Test');
 
@@ -152,11 +152,11 @@ public function testFieldValidation() {
     //   - Entity validation saying linkback is disabled.
     $linkback->set('ref_content', NULL);
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 2, 'Violation found when content reference is not set.');
+    $this->assertEquals(count($violations), 2, 'Violation found when content reference is not set.');
 
     $linkback->set('ref_content', '');
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 2, 'Violation found when content reference is set to an empty string.');
+    $this->assertEquals(count($violations), 2, 'Violation found when content reference is set to an empty string.');
   }
 
   /**
@@ -189,14 +189,14 @@ public function testEntityValidation() {
     ]);
 
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 0, 'No violations when validating a default linkback.');
+    $this->assertEquals(count($violations), 0, 'No violations when validating a default linkback.');
 
     $this->node->field_linkback->linkback_receive = 0;
     $this->node->save();
 
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when ref-back is not allowed.');
-    $this->assertEqual($violations[0]->getMessage(), 'Content with id <em class="placeholder">1</em> has the receive linkbacks disabled.');
+    $this->assertEquals(count($violations), 1, 'Violation found when ref-back is not allowed.');
+    $this->assertEquals($violations[0]->getMessage(), 'Content with id <em class="placeholder">1</em> has the receive linkbacks disabled.');
 
     $this->node->field_linkback->linkback_receive = 1;
     $this->node->save();
@@ -211,8 +211,8 @@ public function testEntityValidation() {
     ]);
 
     $violations = $linkback->validate();
-    $this->assertEqual(count($violations), 1, 'Violation found when ref-back already exists.');
-    $this->assertEqual($violations[0]->getMessage(), 'The <em class="placeholder">Test</em> linkback from url (<em class="placeholder">http://example.com</em>) to content with id <em class="placeholder">1</em> is already registered.');
+    $this->assertEquals(count($violations), 1, 'Violation found when ref-back already exists.');
+    $this->assertEquals($violations[0]->getMessage(), 'The <em class="placeholder">Test</em> linkback from url (<em class="placeholder">http://example.com</em>) to content with id <em class="placeholder">1</em> is already registered.');
   }
 
 }
