Skip to content

Commit e5b9cf9

Browse files
committed
fix test
Signed-off-by: Maya Barnea <mayab@il.ibm.com>
1 parent c2dc883 commit e5b9cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/plugins/profile/pd_profile_handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func TestPdProfileHandlerFactory(t *testing.T) {
134134
var rawParams json.RawMessage
135135
if tt.params != nil {
136136
bytes, err := json.Marshal(tt.params)
137-
assert.Error(t, err)
137+
assert.NoError(t, err)
138138
rawParams = json.RawMessage(bytes)
139139
}
140140
plugin, err := PdProfileHandlerFactory(tt.pluginName, rawParams, nil)

0 commit comments

Comments
 (0)