From a75eab88014ea90ac998df6adfdf140568d7a2c3 Mon Sep 17 00:00:00 2001 From: Myles Derham Date: Thu, 24 Nov 2016 12:18:35 +1300 Subject: [PATCH] Update TagFieldTest.php --- tests/TagFieldTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TagFieldTest.php b/tests/TagFieldTest.php index fd7dabc..5958a0f 100755 --- a/tests/TagFieldTest.php +++ b/tests/TagFieldTest.php @@ -293,7 +293,7 @@ class TagFieldTest extends SapphireTest $tag = TagFieldTestBlogTag::get()->filter('Title', 'Tag1')->first(); - $field = new TagField('Tags', '', new DataList('TagFieldTestBlogTag'), array($tag->ID, 'Tag3')); + $field = new TagField('Tags', '', new DataList('TagFieldTestBlogTag'), array($tag->Title, 'Tag3')); $field->setCanCreate(false); $field->saveInto($record);