diff --git a/tests/FileLinkTrackingTest.php b/tests/FileLinkTrackingTest.php
index fdc05e9be..91b04c585 100644
--- a/tests/FileLinkTrackingTest.php
+++ b/tests/FileLinkTrackingTest.php
@@ -26,15 +26,15 @@ class FileLinkTrackingTest extends SapphireTest {
function testFileRenameUpdatesDraftAndPublishedPages() {
$page = $this->objFromFixture('Page', 'page1');
$this->assertTrue($page->doPublish());
- $this->assertContains('',
+ $this->assertContains('ID")->value());
$file = $this->objFromFixture('File', 'file1');
$file->Name = 'renamed-test-file.pdf';
- $this->assertContains('',
+ $this->assertContains('ID")->value());
- $this->assertContains('',
+ $this->assertContains('ID")->value());
}
@@ -54,9 +54,9 @@ class FileLinkTrackingTest extends SapphireTest {
$file->Name = 'renamed-test-file.pdf';
// Verify that the draft and publish virtual pages both have the corrected link
- $this->assertContains('',
+ $this->assertContains('ID")->value());
- $this->assertContains('',
+ $this->assertContains('ID")->value());
}
@@ -81,7 +81,7 @@ class FileLinkTrackingTest extends SapphireTest {
function testTwoFileRenamesInARowWork() {
$page = $this->objFromFixture('Page', 'page1');
$this->assertTrue($page->doPublish());
- $this->assertContains('',
+ $this->assertContains('ID")->value());
// Rename the file twice
@@ -93,9 +93,9 @@ class FileLinkTrackingTest extends SapphireTest {
$file->write();
// Confirm that the correct image is shown in both the draft and live site
- $this->assertContains('',
+ $this->assertContains('ID")->value());
- $this->assertContains('',
+ $this->assertContains('ID")->value());
}
}