diff --git a/tests/Form/Fields/TestCase.php b/tests/Form/Fields/TestCase.php
index 6c48c43567..411f94ffb1 100644
--- a/tests/Form/Fields/TestCase.php
+++ b/tests/Form/Fields/TestCase.php
@@ -24,6 +24,9 @@ public function setUp(): void
$this->app = new App([
'roots' => [
'index' => $this->tmp
+ ],
+ 'urls' => [
+ 'index' => 'https://getkirby.com/subfolder'
]
]);
}
diff --git a/tests/Form/Fields/WriterFieldTest.php b/tests/Form/Fields/WriterFieldTest.php
index 7e01c759c4..edfb7c11a1 100644
--- a/tests/Form/Fields/WriterFieldTest.php
+++ b/tests/Form/Fields/WriterFieldTest.php
@@ -20,10 +20,10 @@ public function testDefaultProps()
public function testValueSanitized()
{
$field = $this->field('writer', [
- 'value' => 'This is a test with formatting'
+ 'value' => 'This is a test with formatting and a UUID link'
]);
- $this->assertSame('This is a test with formatting', $field->value());
+ $this->assertSame('This is a test with formatting and a UUID link', $field->value());
}
public function testValueTrimmed()