File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ class SitemapTests: SnapshotTestCase {
4949 // Ensure sitemap routing is configured in prod
5050 try await withDependencies {
5151 $0. environment. current = { . production }
52+ $0. httpClient. postPlausibleEvent = App . HTTPClient. noop
5253 } operation: {
5354 // We also need to set up a new app that's configured for production,
5455 // because app.test is not affected by @Dependency overrides.
@@ -100,6 +101,7 @@ class SitemapTests: SnapshotTestCase {
100101 // Ensure sitemap routing is configured in prod
101102 try await withDependencies {
102103 $0. environment. current = { . production }
104+ $0. httpClient. postPlausibleEvent = App . HTTPClient. noop
103105 } operation: {
104106 // We also need to set up a new app that's configured for production,
105107 // because app.test is not affected by @Dependency overrides.
You can’t perform that action at this time.
0 commit comments