We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2111a5e commit da1c33aCopy full SHA for da1c33a
.gitignore
@@ -81,3 +81,6 @@ build/_BuildOutput/
81
tools/NDepend/
82
src/*.vspx
83
src/*.psess
84
+NDependOut/*
85
+QueryResult.htm
86
+*.ndproj
src/Umbraco.Tests/Models/DataValueSetterTests.cs
@@ -66,6 +66,8 @@ public void SetValue_Is_Called_When_Executing_ToXml_On_A_Property_With_DataType_
66
var dataTypeId = Guid.NewGuid();
67
68
var dataTypeData = MockRepository.GenerateMock<IData, IDataValueSetter>();
69
+ //needs to have a value for SetValue to be called
70
+ dataTypeData.Stub(data => data.Value).Return(string.Empty);
71
dataTypeData
72
.Stub(data => data.ToXMl(Arg<XmlDocument>.Is.Anything))
73
.Return(null) // you have to call Return() even though we're about to override it
0 commit comments