Compare commits
4
Commits
bcfc9ef962
...
1.69.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24ba609e0c | ||
|
|
4bac14881d | ||
|
|
29f6d66c44 | ||
|
|
fd6057d691 |
@@ -362,3 +362,4 @@ MigrationBackup/
|
|||||||
# Fody - auto-generated XML schema
|
# Fody - auto-generated XML schema
|
||||||
FodyWeavers.xsd
|
FodyWeavers.xsd
|
||||||
/LiteCharms.Features.Tests/http/http-client.env.json
|
/LiteCharms.Features.Tests/http/http-client.env.json
|
||||||
|
/LiteCharms.Features.Tests/http/midrandshop-api/http-client.env.json
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public sealed class PayfastServiceFeatureTests(Fixture fixture) : IClassFixture<
|
|||||||
|
|
||||||
string liveTargetIp = addresses.First().ToString();
|
string liveTargetIp = addresses.First().ToString();
|
||||||
|
|
||||||
var result = await payfastService.ValidateReferrerIpAsync(liveTargetIp, fixture.CancellationToken);
|
var result = await payfastService.ValidateReferrerIpAsync(liveTargetIp, true, fixture.CancellationToken);
|
||||||
|
|
||||||
Assert.True(result.IsSuccess);
|
Assert.True(result.IsSuccess);
|
||||||
Assert.True(result.Value);
|
Assert.True(result.Value);
|
||||||
@@ -48,7 +48,7 @@ public sealed class PayfastServiceFeatureTests(Fixture fixture) : IClassFixture<
|
|||||||
{
|
{
|
||||||
string rogueIp = "8.8.8.8";
|
string rogueIp = "8.8.8.8";
|
||||||
|
|
||||||
var result = await payfastService.ValidateReferrerIpAsync(rogueIp, fixture.CancellationToken);
|
var result = await payfastService.ValidateReferrerIpAsync(rogueIp, true, fixture.CancellationToken);
|
||||||
|
|
||||||
Assert.True(result.IsSuccess);
|
Assert.True(result.IsSuccess);
|
||||||
Assert.False(result.Value);
|
Assert.False(result.Value);
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"local": {
|
|
||||||
"baseUrl": "https://localhost:7196",
|
|
||||||
"paymentId": "jdPB2zaKM3Z",
|
|
||||||
"signature": "6aeff59bb74f2448ff2c3d81b2ec95de",
|
|
||||||
"item_name": "System Architecture Book",
|
|
||||||
"amount": "350.00"
|
|
||||||
},
|
|
||||||
"uat": {
|
|
||||||
"baseUrl": "https://api.uat.midrandbooks.co.za",
|
|
||||||
"paymentId": "jdPB2zaKM3Z",
|
|
||||||
"signature": "6aeff59bb74f2448ff2c3d81b2ec95de",
|
|
||||||
"item_name": "System Architecture Book",
|
|
||||||
"amount": "350.00"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user