Skip to content

Commit 9336a6a

Browse files
React to removed link (#10957)
React to removed link
1 parent 67b6652 commit 9336a6a

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/ProjectTemplates/test/MvcTemplateTest.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ public async Task MvcTemplate_NoAuthImplAsync(string languageOverride)
6161
PageUrls.PrivacyFullUrl
6262
};
6363

64-
if (languageOverride == null)
65-
{
66-
menuLinks = menuLinks.Append(PageUrls.PrivacyFullUrl);
67-
}
6864
var footerLinks = new string[] { PageUrls.PrivacyFullUrl };
6965

7066
var pages = new List<Page>
@@ -141,7 +137,6 @@ public async Task MvcTemplate_IndividualAuthImplAsync(bool useLocalDB)
141137
PageUrls.LoginUrl,
142138
PageUrls.HomeUrl,
143139
PageUrls.PrivacyUrl,
144-
PageUrls.PrivacyUrl,
145140
PageUrls.PrivacyUrl
146141
}
147142
},
@@ -154,7 +149,6 @@ public async Task MvcTemplate_IndividualAuthImplAsync(bool useLocalDB)
154149
PageUrls.LoginUrl,
155150
PageUrls.HomeUrl,
156151
PageUrls.PrivacyUrl,
157-
PageUrls.PrivacyUrl,
158152
PageUrls.DocsUrl,
159153
PageUrls.PrivacyUrl
160154
}
@@ -168,7 +162,6 @@ public async Task MvcTemplate_IndividualAuthImplAsync(bool useLocalDB)
168162
PageUrls.LoginUrl,
169163
PageUrls.HomeUrl,
170164
PageUrls.PrivacyUrl,
171-
PageUrls.PrivacyUrl,
172165
PageUrls.PrivacyUrl
173166
}
174167
},
@@ -181,7 +174,6 @@ public async Task MvcTemplate_IndividualAuthImplAsync(bool useLocalDB)
181174
PageUrls.LoginUrl,
182175
PageUrls.HomeUrl,
183176
PageUrls.PrivacyUrl,
184-
PageUrls.PrivacyUrl,
185177
PageUrls.ForgotPassword,
186178
PageUrls.RegisterUrl,
187179
PageUrls.ExternalArticle,
@@ -196,7 +188,6 @@ public async Task MvcTemplate_IndividualAuthImplAsync(bool useLocalDB)
196188
PageUrls.LoginUrl,
197189
PageUrls.HomeUrl,
198190
PageUrls.PrivacyUrl,
199-
PageUrls.PrivacyUrl,
200191
PageUrls.ExternalArticle,
201192
PageUrls.PrivacyUrl
202193
}

src/ProjectTemplates/test/RazorPagesTemplateTest.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public async Task RazorPagesTemplate_NoAuthImplAsync()
6161
PageUrls.HomeUrl,
6262
PageUrls.HomeUrl,
6363
PageUrls.PrivacyUrl,
64-
PageUrls.PrivacyUrl,
6564
PageUrls.DocsUrl,
6665
PageUrls.PrivacyUrl
6766
}
@@ -73,7 +72,6 @@ public async Task RazorPagesTemplate_NoAuthImplAsync()
7372
PageUrls.HomeUrl,
7473
PageUrls.HomeUrl,
7574
PageUrls.PrivacyUrl,
76-
PageUrls.PrivacyUrl,
7775
PageUrls.PrivacyUrl }
7876
}
7977
};
@@ -138,7 +136,6 @@ public async Task RazorPagesTemplate_IndividualAuthImplAsync(bool useLocalDB)
138136
PageUrls.LoginUrl,
139137
PageUrls.HomeUrl,
140138
PageUrls.PrivacyUrl,
141-
PageUrls.PrivacyUrl,
142139
PageUrls.PrivacyUrl
143140
}
144141
},
@@ -151,7 +148,6 @@ public async Task RazorPagesTemplate_IndividualAuthImplAsync(bool useLocalDB)
151148
PageUrls.LoginUrl,
152149
PageUrls.HomeUrl,
153150
PageUrls.PrivacyUrl,
154-
PageUrls.PrivacyUrl,
155151
PageUrls.DocsUrl,
156152
PageUrls.PrivacyUrl
157153
}
@@ -165,7 +161,6 @@ public async Task RazorPagesTemplate_IndividualAuthImplAsync(bool useLocalDB)
165161
PageUrls.LoginUrl,
166162
PageUrls.HomeUrl,
167163
PageUrls.PrivacyUrl,
168-
PageUrls.PrivacyUrl,
169164
PageUrls.PrivacyUrl
170165
}
171166
},
@@ -178,7 +173,6 @@ public async Task RazorPagesTemplate_IndividualAuthImplAsync(bool useLocalDB)
178173
PageUrls.LoginUrl,
179174
PageUrls.HomeUrl,
180175
PageUrls.PrivacyUrl,
181-
PageUrls.PrivacyUrl,
182176
PageUrls.ForgotPassword,
183177
PageUrls.RegisterUrl,
184178
PageUrls.ExternalArticle,
@@ -193,7 +187,6 @@ public async Task RazorPagesTemplate_IndividualAuthImplAsync(bool useLocalDB)
193187
PageUrls.LoginUrl,
194188
PageUrls.HomeUrl,
195189
PageUrls.PrivacyUrl,
196-
PageUrls.PrivacyUrl,
197190
PageUrls.ExternalArticle,
198191
PageUrls.PrivacyUrl
199192
}

0 commit comments

Comments
 (0)