Shady nagy/net6 (#614)
* udated to .net6 * used the .net6 version RC2 * added editconfig. * App core new Scoped Namespaces style. * BlazorAdmin new Scoped Namespaces style. * Blazor Shared new Scoped Namespaces style. * Infra new Scoped Namespaces style. * public api new Scoped Namespaces style. * web new Scoped Namespaces style. * FunctionalTests new Scoped Namespaces style. * Integrational tests new Scoped Namespaces style. * unit tests new Scoped Namespaces style. * update github action. * update github action. * change the global.
This commit is contained in:
@@ -1,28 +1,27 @@
|
||||
using Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate;
|
||||
|
||||
namespace Microsoft.eShopWeb.UnitTests.Builders
|
||||
{
|
||||
public class AddressBuilder
|
||||
{
|
||||
private Address _address;
|
||||
public string TestStreet => "123 Main St.";
|
||||
public string TestCity => "Kent";
|
||||
public string TestState => "OH";
|
||||
public string TestCountry => "USA";
|
||||
public string TestZipCode => "44240";
|
||||
namespace Microsoft.eShopWeb.UnitTests.Builders;
|
||||
|
||||
public AddressBuilder()
|
||||
{
|
||||
_address = WithDefaultValues();
|
||||
}
|
||||
public Address Build()
|
||||
{
|
||||
return _address;
|
||||
}
|
||||
public Address WithDefaultValues()
|
||||
{
|
||||
_address = new Address(TestStreet, TestCity, TestState, TestCountry, TestZipCode);
|
||||
return _address;
|
||||
}
|
||||
public class AddressBuilder
|
||||
{
|
||||
private Address _address;
|
||||
public string TestStreet => "123 Main St.";
|
||||
public string TestCity => "Kent";
|
||||
public string TestState => "OH";
|
||||
public string TestCountry => "USA";
|
||||
public string TestZipCode => "44240";
|
||||
|
||||
public AddressBuilder()
|
||||
{
|
||||
_address = WithDefaultValues();
|
||||
}
|
||||
public Address Build()
|
||||
{
|
||||
return _address;
|
||||
}
|
||||
public Address WithDefaultValues()
|
||||
{
|
||||
_address = new Address(TestStreet, TestCity, TestState, TestCountry, TestZipCode);
|
||||
return _address;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user