From daae93e729d57307815ea4f674a687ff4d833ec4 Mon Sep 17 00:00:00 2001 From: Patrick Hensley Date: Mon, 31 Jul 2023 12:36:29 -0400 Subject: [PATCH] [COM-28756] Fix scarcity test cases --- .../template/plugins/platform/product-scarcity.html | 2 +- .../plugins/platform/f-scarcity-default-hidden.html | 7 +++++-- .../platform/f-scarcity-default-shown-and-variants.html | 8 ++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/core/src/main/resources/com/squarespace/template/plugins/platform/product-scarcity.html b/core/src/main/resources/com/squarespace/template/plugins/platform/product-scarcity.html index 0a9e8fc7..0da08a58 100644 --- a/core/src/main/resources/com/squarespace/template/plugins/platform/product-scarcity.html +++ b/core/src/main/resources/com/squarespace/template/plugins/platform/product-scarcity.html @@ -8,4 +8,4 @@ {scarcityText|message qtyInStock:qtyInStock|htmltag} {.end} -{.end} \ No newline at end of file +{.end} diff --git a/core/src/test/resources/com/squarespace/template/plugins/platform/f-scarcity-default-hidden.html b/core/src/test/resources/com/squarespace/template/plugins/platform/f-scarcity-default-hidden.html index 36ec7991..265ff6db 100644 --- a/core/src/test/resources/com/squarespace/template/plugins/platform/f-scarcity-default-hidden.html +++ b/core/src/test/resources/com/squarespace/template/plugins/platform/f-scarcity-default-hidden.html @@ -27,10 +27,13 @@ {item|product-scarcity} :OUTPUT - + diff --git a/core/src/test/resources/com/squarespace/template/plugins/platform/f-scarcity-default-shown-and-variants.html b/core/src/test/resources/com/squarespace/template/plugins/platform/f-scarcity-default-shown-and-variants.html index c90cedbd..1e82d319 100644 --- a/core/src/test/resources/com/squarespace/template/plugins/platform/f-scarcity-default-shown-and-variants.html +++ b/core/src/test/resources/com/squarespace/template/plugins/platform/f-scarcity-default-shown-and-variants.html @@ -29,14 +29,18 @@ {item|product-scarcity} :OUTPUT -
+
Only 3 left!
+ + + + \ No newline at end of file +