Skip to content

Commit

Permalink
Add MetaData service support
Browse files Browse the repository at this point in the history
  • Loading branch information
osaidwtd committed Aug 11, 2024
1 parent c788d0c commit 7acb036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artifactory/utils/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func testGetRtMajorVersion(t *testing.T, version string, expected int) {
func TestCreateMetadataServiceManager(t *testing.T) {
testServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
if r.RequestURI == "api/v1/query" {
content := []byte(fmt.Sprintf("{\"query\": \"queryBody\"\"}"))
content := []byte(`{"query":"queryBody"}`)
_, err := w.Write(content)
assert.NoError(t, err)
}
Expand Down

0 comments on commit 7acb036

Please sign in to comment.