Created
October 29, 2019 16:01
-
-
Save richarth/d774a8028bcfd462f8b0d3365e5748b2 to your computer and use it in GitHub Desktop.
Cut down demo of a base class for our xUnit tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UCommerce.EntitiesV2; | |
using Xunit.Abstractions; | |
namespace Website.Tests | |
{ | |
public class TestBase : XunitApprovalBase | |
{ | |
protected TestBase(ITestOutputHelper output) | |
: base(output) | |
{ | |
RetailCustomer = GenerateMockCustomer(); | |
} | |
protected Customer RetailCustomer { get; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment