Skip to content

Commit

Permalink
Major release updates, including .NET Standard2.0 (#101) (#126)
Browse files Browse the repository at this point in the history
- Convert from .NET Standard 1.6 to .NET Standard 2.0 (#123, #101)
- Remove 1.0, 1.1, 2.0 .NET Core support due to EOL, and add 3.1 Core support
- Update to Visual Studio Version 16
- Add Purchasing Transactions for approve and decline
- Add Exchange Rate test coverage for Create ApPayment
- Change from NLog to Microsoft.Extensions.Logging (#47)
- APPYMT support implemented for ApPaymentCreate
- Refactor ApPaymentRequest* to ApPayment*
- Fix isnegate for InList in ReadByQuery
- Remove mutual exclusion rule for lot number and serial number for item detail (#108)
- Update dependencies
  • Loading branch information
intacctcoleenho authored Nov 6, 2020
1 parent 00b18cf commit d1d20ac
Show file tree
Hide file tree
Showing 56 changed files with 1,674 additions and 484 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
language: csharp
solution: intacct-sdk-net.sln
mono: none
dotnet: 2.1.300
dotnet: # Include one of the frameworks
- 2.1.804 # EOL for 2.1: 2021.08.21
before_install:
# explicitly install other targeted SDKs side by side
- sudo apt-get install dotnet-sdk-3.1
install:
- dotnet restore

script:
- dotnet build --configuration Release
- dotnet test Intacct.SDK.Tests/Intacct.SDK.Tests.csproj --framework "netcoreapp2.0"
- dotnet test Intacct.SDK.Tests/Intacct.SDK.Tests.csproj --framework "netcoreapp2.1"
- dotnet test Intacct.SDK.Tests/Intacct.SDK.Tests.csproj --framework "netcoreapp3.1"

notifications:
slack:
Expand Down
2 changes: 1 addition & 1 deletion Intacct.SDK.Tests/ClientConfigTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Intacct.SDK.Logging;
using NLog;
using Microsoft.Extensions.Logging;
using Xunit;

namespace Intacct.SDK.Tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

namespace Intacct.SDK.Tests.Functions.AccountsPayable
{
public class ApPaymentRequestApproveTest : XmlObjectTestHelper
public class ApPaymentApproveTest : XmlObjectTestHelper
{
[Fact]
public void GetXmlTest()
Expand All @@ -40,11 +40,8 @@ public void GetXmlTest()
</approve_appaymentrequest>
</function>";

ApPaymentRequestApprove record = new ApPaymentRequestApprove("unittest")
{
RecordNo = 1234,
};

AbstractApPaymentFunction record = ApPaymentFactory.Create(AbstractApPaymentFunction.Approve, 1234, "unittest");

this.CompareXml(expected, record);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

namespace Intacct.SDK.Tests.Functions.AccountsPayable
{
public class ApPaymentRequestConfirmTest : XmlObjectTestHelper
public class ApPaymentConfirmTest : XmlObjectTestHelper
{
[Fact]
public void GetXmlTest()
Expand All @@ -40,11 +40,8 @@ public void GetXmlTest()
</confirm_appaymentrequest>
</function>";

ApPaymentRequestConfirm record = new ApPaymentRequestConfirm("unittest")
{
RecordNo = 1234,
};

AbstractApPaymentFunction record = ApPaymentFactory.Create(AbstractApPaymentFunction.Confirm, 1234, "unittest");

this.CompareXml(expected, record);
}
}
Expand Down
Loading

0 comments on commit d1d20ac

Please sign in to comment.