Wipe metadata
This commit is contained in:
@@ -280,6 +280,7 @@ topdata:
|
||||
deploy_manifest: wiki-manifest.json
|
||||
deploy_edit_summary: Custom summary
|
||||
title_prefix_min_length: 4
|
||||
status_pages: false
|
||||
status_listing_scope: namespace
|
||||
stale_pages:
|
||||
default: report
|
||||
@@ -367,6 +368,9 @@ autogen:
|
||||
if got, want := effective.TopData.Wiki.TitlePrefixMinLength, 4; got != want {
|
||||
t.Fatalf("expected wiki title prefix minimum length %d, got %d", want, got)
|
||||
}
|
||||
if effective.TopData.Wiki.StatusPages == nil || *effective.TopData.Wiki.StatusPages {
|
||||
t.Fatalf("expected wiki status pages to be disabled, got %#v", effective.TopData.Wiki.StatusPages)
|
||||
}
|
||||
if got, want := effective.TopData.Wiki.StatusListingScope, "namespace"; got != want {
|
||||
t.Fatalf("expected wiki status listing scope %q, got %q", want, got)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user