From 93040d6781d08573f4457ad35416d18c19937f99 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Fri, 4 Jun 2010 05:32:54 +0000 Subject: [PATCH] BUGFIX: updated tests for Text git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@106205 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) ); }