Skip to content

Commit 628a553

Browse files
committed
Site wide banner mock was always showing and causing tests to fail
1 parent 0278fe3 commit 628a553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/cms/providers/strapi/mocks/collections/site_wide_banner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Collections
66
class SiteWideBanner < StrapiMock
77
attribute(:textContent) { Text::RichBlocks.generate_data }
88
attribute(:startTime) { Faker::Time.backward(days: 2) }
9-
attribute(:endTime) { Faker::Time.forward(days: 2) }
9+
attribute(:endTime) { Faker::Time.backward(days: 1) }
1010
end
1111
end
1212
end

0 commit comments

Comments
 (0)