From b376e008aef98970fb8a543aa0f7cbfb364d237a Mon Sep 17 00:00:00 2001 From: mak001 Date: Mon, 13 Aug 2018 12:29:42 -0500 Subject: [PATCH] Updated recipe-cms version constraints (#193) --- composer.json | 2 +- tests/objects/LocationTest.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 78bc4fb..02485a3 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } ], "require": { - "silverstripe/recipe-cms": "^1.0", + "silverstripe/recipe-cms": "^1.0 || ^4.0", "silverstripe/vendor-plugin": "^1.0", "muskie9/data-to-arraylist": "^2.0", "dynamic/silverstripe-geocoder": "^1.0", diff --git a/tests/objects/LocationTest.php b/tests/objects/LocationTest.php index 6ecd126..7db2d10 100644 --- a/tests/objects/LocationTest.php +++ b/tests/objects/LocationTest.php @@ -57,7 +57,9 @@ public function testFieldLabels() 'Import_ID' => 'Import_ID', 'Version' => 'Version', 'Versions' => 'Versions', - 'Address2' => 'Address2' + 'Address2' => 'Address2', + 'LinkTracking' => 'Link Tracking', + 'FileTracking' => 'File Tracking', ); $this->assertEquals($expected, $labels); }