Test updates to fix enum comparison issue
This commit is contained in:
Родитель
297851758b
Коммит
10a963e515
|
@ -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());
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче