Test updates to fix enum comparison issue
This commit is contained in:
Родитель
26dd8a189c
Коммит
fad94da3c1
|
@ -124,7 +124,7 @@ namespace Microsoft.Azure.Functions.Worker.Tests
|
|||
Assert.Equal(typeof(string), q.Type);
|
||||
Assert.Contains(PropertyBagKeys.ConverterFallbackBehavior, q.Properties.Keys);
|
||||
Assert.Contains(PropertyBagKeys.BindingAttributeSupportedConverters, q.Properties.Keys);
|
||||
Assert.Equal("Default", q.Properties[PropertyBagKeys.ConverterFallbackBehavior].ToString());
|
||||
Assert.Equal("Allow", q.Properties[PropertyBagKeys.ConverterFallbackBehavior].ToString());
|
||||
Assert.Contains(new Dictionary<Type, List<Type>>().ToString(), q.Properties[PropertyBagKeys.BindingAttributeSupportedConverters].ToString());
|
||||
});
|
||||
|
||||
|
@ -182,7 +182,7 @@ namespace Microsoft.Azure.Functions.Worker.Tests
|
|||
Assert.Equal(typeof(QueueMessage), q.Type);
|
||||
Assert.Contains(PropertyBagKeys.ConverterFallbackBehavior, q.Properties.Keys);
|
||||
Assert.Contains(PropertyBagKeys.BindingAttributeSupportedConverters, q.Properties.Keys);
|
||||
Assert.Equal("Default", q.Properties[PropertyBagKeys.ConverterFallbackBehavior].ToString());
|
||||
Assert.Equal("Allow", q.Properties[PropertyBagKeys.ConverterFallbackBehavior].ToString());
|
||||
Assert.Contains(new Dictionary<Type, List<Type>>().ToString(), q.Properties[PropertyBagKeys.BindingAttributeSupportedConverters].ToString());
|
||||
});
|
||||
}
|
||||
|
@ -231,7 +231,7 @@ namespace Microsoft.Azure.Functions.Worker.Tests
|
|||
Assert.Equal(typeof(TableClient), q.Type);
|
||||
Assert.Contains(PropertyBagKeys.ConverterFallbackBehavior, q.Properties.Keys);
|
||||
Assert.Contains(PropertyBagKeys.BindingAttributeSupportedConverters, q.Properties.Keys);
|
||||
Assert.Equal("Default", q.Properties[PropertyBagKeys.ConverterFallbackBehavior].ToString());
|
||||
Assert.Equal("Allow", q.Properties[PropertyBagKeys.ConverterFallbackBehavior].ToString());
|
||||
Assert.Contains(new Dictionary<Type, List<Type>>().ToString(), q.Properties[PropertyBagKeys.BindingAttributeSupportedConverters].ToString());
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче