aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce.Tests/ConfigurationTests.cs
blob: 366dcbb8d814834dd7f3af1eef89be10a18e035b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Xunit;

namespace IOL.VippsEcommerce.Tests;

public class InitialisationTests
{
	[Fact]
	public void Succeed_On_Valid_Minimal_Configuration() {
		var vippsEcommerceService = Helpers.GetVippsEcommerceService(o => {
			o.ApiUrl = "https://validuri.no";
			o.ClientId = "asdf";
			o.ClientSecret = "asdf";
			o.SecondarySubscriptionKey = "asdf";
		});

		vippsEcommerceService.Configuration.Verify();
	}
}