@@ -208,7 +208,7 @@ func TestV3VoidCreditGrant(t *testing.T) {
208208
209209 // when:
210210 // - the first grant is voided
211- status , voided , problem := voidCreditGrantRaw (t , c , customerID , grant .ID , nil )
211+ status , voided , problem := voidCreditGrantRaw (t , c , customerID , grant .ID , map [ string ] any {} )
212212 require .Equal (t , http .StatusOK , status , "problem: %+v" , problem )
213213 require .NotNil (t , voided )
214214
@@ -233,7 +233,7 @@ func TestV3VoidCreditGrant(t *testing.T) {
233233 })
234234
235235 t .Run ("retrying the void is an idempotent success" , func (t * testing.T ) {
236- status , again , problem := voidCreditGrantRaw (t , c , customerID , grant .ID , nil )
236+ status , again , problem := voidCreditGrantRaw (t , c , customerID , grant .ID , map [ string ] any {} )
237237 require .Equal (t , http .StatusOK , status , "problem: %+v" , problem )
238238 require .NotNil (t , again )
239239 require .Equal (t , v3sdk .CreditGrantStatusVoided , again .Status )
@@ -294,7 +294,7 @@ func TestV3VoidCreditGrant(t *testing.T) {
294294 })
295295
296296 t .Run ("voiding an unknown grant is a 404" , func (t * testing.T ) {
297- status , _ , problem := voidCreditGrantRaw (t , c , customerID , ulid .Make ().String (), nil )
297+ status , _ , problem := voidCreditGrantRaw (t , c , customerID , ulid .Make ().String (), map [ string ] any {} )
298298 require .Equal (t , http .StatusNotFound , status , "problem: %+v" , problem )
299299 })
300300}
0 commit comments