Rename DevEnableShare to EnableSharing

This commit is contained in:
Deluan
2023-01-29 20:33:10 -05:00
parent a651d65a5b
commit 68e6115789
14 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -224,14 +224,14 @@ var _ = Describe("serveIndex", func() {
Expect(config).To(HaveKeyWithValue("enableUserEditing", true))
})
It("sets the devEnableShare", func() {
It("sets the enableSharing", func() {
r := httptest.NewRequest("GET", "/index.html", nil)
w := httptest.NewRecorder()
serveIndex(ds, fs, nil)(w, r)
config := extractAppConfig(w.Body.String())
Expect(config).To(HaveKeyWithValue("devEnableShare", false))
Expect(config).To(HaveKeyWithValue("enableSharing", false))
})
It("sets the defaultDownsamplingFormat", func() {