Skip to content

Commit 7538054

Browse files
committed
Updates according to Simplify.Templates 2.0
1 parent fba3ae7 commit 7538054

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Simplify.Xml.Tests/Simplify.Xml.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp2.2</TargetFrameworks>
3+
<TargetFrameworks>netcoreapp3.0</TargetFrameworks>
44
<Authors>Alexander Krylkov</Authors>
55
<Product>Simplify</Product>
66
<Description>Simplify.Xml unit tests</Description>
77
<Copyright>Licensed under LGPL</Copyright>
8-
<Version>1.2</Version>
8+
<Version>1.3</Version>
99
<OutputPath>bin\Any CPU\$(Configuration)\</OutputPath>
1010
</PropertyGroup>
1111
<ItemGroup>

src/Simplify.Xml.Tests/XmlExtensionsTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ public void GetInnerXml_XElement_GettingCorrectly()
3535
public void RemoveAllXmlNamespaces_XmlStringWithBNamespaces_XmlStringWithoutNamespaces()
3636
{
3737
// Assign
38-
var str = Template.FromManifest("TestData.XmlWithNamespaces.xml").Get();
38+
var str = TemplateBuilder.FromCurrentAssembly("TestData.XmlWithNamespaces.xml").Build().Get();
3939

4040
// Act & Assert
41-
Assert.AreEqual(Template.FromManifest("TestData.XmlWithoutNamespaces..xml").Get(), str.RemoveAllXmlNamespaces());
41+
Assert.AreEqual(TemplateBuilder.FromCurrentAssembly("TestData.XmlWithoutNamespaces..xml").Build().Get(), str.RemoveAllXmlNamespaces());
4242
}
4343
}
4444
}

0 commit comments

Comments
 (0)