From 197cdb0f642c4ebb2708f8264f575f562e844296 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 03:00:12 +0000 Subject: [PATCH] BUGFIX: updated tests for Text (from r106205) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112527 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tests/fieldtypes/TextTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/fieldtypes/TextTest.php b/tests/fieldtypes/TextTest.php index 3b961f912..d7aa965e7 100644 --- a/tests/fieldtypes/TextTest.php +++ b/tests/fieldtypes/TextTest.php @@ -112,14 +112,14 @@ class TextTest extends SapphireTest { $textObj = DBField::create('Text', $testString1, 'Text'); $this->assertEquals( - 'text. It is a test', + '... text. It is a test...', $textObj->ContextSummary(20, $testKeywords1) ); - + $textObj->setValue($testString2); $this->assertEquals( - 'This is some test text. test test what if you have', + 'This is some test text. test test what if you have...', $textObj->ContextSummary(50, $testKeywords2) ); }