diff --git a/client/main_test.go b/client/main_test.go index f91a20b83..8e72bf7a4 100644 --- a/client/main_test.go +++ b/client/main_test.go @@ -385,7 +385,7 @@ func TestQuery(t *testing.T) { err = checkValidQuery(transferUrl) assert.Error(t, err) - assert.Contains(t, err.Error(), "Invalid query parameters procided in url: pelican://something/here?durectreeds") + assert.Contains(t, err.Error(), "Invalid query parameters provided in url: pelican://something/here?durectreeds") }) t.Run("TestBothQueryCheckSuccess", func(t *testing.T) { diff --git a/cmd/plugin_test.go b/cmd/plugin_test.go index 14f5e8402..ef6ab9da0 100644 --- a/cmd/plugin_test.go +++ b/cmd/plugin_test.go @@ -373,7 +373,7 @@ func TestPluginDirectRead(t *testing.T) { viper.Set("Origin.StorageType", "posix") viper.Set("Origin.ExportVolumes", "/test") viper.Set("Origin.EnablePublicReads", true) - viper.Set("Origin.DirectReads", true) + viper.Set("Origin.EnableDirectReads", true) fed := fed_test_utils.NewFedTest(t, "") host := param.Server_Hostname.GetString() + ":" + strconv.Itoa(param.Server_WebPort.GetInt()) @@ -564,7 +564,7 @@ func TestQuery(t *testing.T) { err = checkValidQuery(transferUrl) assert.Error(t, err) - assert.Contains(t, err.Error(), "Invalid query parameters procided in url: pelican://something/here?recrustive=true") + assert.Contains(t, err.Error(), "Invalid query parameters provided in url: pelican://something/here?recrustive=true") }) t.Run("TestBothPackAndRecursiveFailure", func(t *testing.T) {