diff --git a/src/Test/test_model.jl b/src/Test/test_model.jl index 2644567960..a6936e635b 100644 --- a/src/Test/test_model.jl +++ b/src/Test/test_model.jl @@ -28,6 +28,10 @@ function MOI.get(::BadModel, ::MOI.ListOfVariableAttributesSet) return MOI.AbstractVariableAttribute[] end +function MOI.get(::BadModel, ::MOI.ListOfConstraintAttributesSet) + return MOI.AbstractConstraintAttribute[] +end + function MOI.get(::BadModel, ::MOI.ListOfConstraintTypesPresent) return [(MOI.VariableIndex, MOI.EqualTo{Float64})] end