From 5bb7f4a22990e20b548af39338de5bd43ab69dfe Mon Sep 17 00:00:00 2001 From: Hana Lee Date: Thu, 29 Sep 2016 11:19:10 -0500 Subject: [PATCH] Add test to check when etag doesn't match file --- .../ResponseTestSuite/PatchWithEtag/content.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/FitNesseRoot/HttpTestSuite/ResponseTestSuite/PatchWithEtag/content.txt b/FitNesseRoot/HttpTestSuite/ResponseTestSuite/PatchWithEtag/content.txt index 93e3d1f..5c271e8 100644 --- a/FitNesseRoot/HttpTestSuite/ResponseTestSuite/PatchWithEtag/content.txt +++ b/FitNesseRoot/HttpTestSuite/ResponseTestSuite/PatchWithEtag/content.txt @@ -19,3 +19,10 @@ |patch |/patch-content.txt | |get |/patch-content.txt | |ensure |body has content |default content | +|set data|patched content | +|set etag|5c36acad75b78b82be6d9cbbd6143ab7e0cc04b0| +|patch |/patch-content.txt | +|ensure |response code equals|409 | +|get |/patch-content.txt | +|ensure |body has content |default content | +