From 8c01c83e4b56f89198e09037f44dad5f012f6986 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Fri, 30 Nov 2018 15:02:53 +1300 Subject: [PATCH] Ignore the id in our test comparision Gitlab CI has a different collection_id for US Holidays than running the tests locally. We don't actually care about ID for this test, just the fact that the binding is present is enough for us. --- testing/tests/binding/1004-PROPFIND-bound.result | 14 +++++++------- testing/tests/binding/1004-PROPFIND-bound.test | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/testing/tests/binding/1004-PROPFIND-bound.result b/testing/tests/binding/1004-PROPFIND-bound.result index 37563f12..509f8fea 100644 --- a/testing/tests/binding/1004-PROPFIND-bound.result +++ b/testing/tests/binding/1004-PROPFIND-bound.result @@ -6,7 +6,7 @@ User 4 - /caldav.php/.resources/1005 + /caldav.php/.resources/XX @@ -24,7 +24,7 @@ User 2's Calendar, as uploaded by Admin - /caldav.php/.resources/161 + /caldav.php/.resources/XX @@ -46,7 +46,7 @@ mir-test - /caldav.php/.resources/163 + /caldav.php/.resources/XX @@ -64,7 +64,7 @@ user4 addresses - /caldav.php/.resources/463 + /caldav.php/.resources/XX @@ -82,7 +82,7 @@ New Zealand Public Holidays - /caldav.php/.resources/1014 + /caldav.php/.resources/XX @@ -100,7 +100,7 @@ US Holidays - /caldav.php/.resources/1069 + /caldav.php/.resources/XX @@ -118,7 +118,7 @@ User 4 Outbox - /caldav.php/.resources/1600 + /caldav.php/.resources/XX diff --git a/testing/tests/binding/1004-PROPFIND-bound.test b/testing/tests/binding/1004-PROPFIND-bound.test index 9e672853..c92b2901 100644 --- a/testing/tests/binding/1004-PROPFIND-bound.test +++ b/testing/tests/binding/1004-PROPFIND-bound.test @@ -22,3 +22,5 @@ BEGINDATA ENDDATA # + +REPLACE=_resources/\d+_resources/XX_