(t *testing.T)
| 2905 | } |
| 2906 | |
| 2907 | func TestPutDbConfigChangeName(t *testing.T) { |
| 2908 | rt := rest.NewRestTesterPersistentConfig(t) |
| 2909 | defer rt.Close() |
| 2910 | |
| 2911 | rest.RequireStatus(t, rt.SendAdminRequest(http.MethodPut, "/db/_config", `{"name": "test"}`), http.StatusBadRequest) |
| 2912 | } |
| 2913 | |
| 2914 | func TestSwitchDbConfigCollectionName(t *testing.T) { |
| 2915 | base.TestRequiresCollections(t) |
nothing calls this directly
no test coverage detected