Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Add checksum to OCR numbers
  • Loading branch information
adamelfstrom committed Mar 13, 2024
1 parent 96d10b8 commit 9465c0d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public async Task Test_SupplierInvoiceExternalURLConnection_CRUD()
InvoiceDate = new DateTime(2020, 1, 1),
DueDate = new DateTime(2020, 2, 1),
SalesType = SalesType.Stock,
OCR = "123456789",
OCR = "1234567897",
Total = 5000,
SupplierInvoiceRows = new List<SupplierInvoiceRow>()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public async Task Test_SupplierInvoiceFileConnection_CRUD()
InvoiceDate = new DateTime(2020, 1, 1),
DueDate = new DateTime(2020, 2, 1),
SalesType = SalesType.Stock,
OCR = "123456789",
OCR = "1234567897",
Total = 5000,
SupplierInvoiceRows = new List<SupplierInvoiceRow>()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public async Task Test_SupplierInvoicePayment_CRUD()
InvoiceDate = new DateTime(2020, 1, 1),
DueDate = new DateTime(2020, 2, 1),
SalesType = SalesType.Stock,
OCR = "123456789",
OCR = "1234567897",
Total = 5000,
SupplierInvoiceRows = new List<SupplierInvoiceRow>()
{
Expand Down
6 changes: 3 additions & 3 deletions FortnoxSDK.Tests/ConnectorTests/SupplierInvoiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public async Task Test_SupplierInvoice_CRUD()
InvoiceDate = new DateTime(2010, 1, 1),
DueDate = new DateTime(2010, 2, 1),
SalesType = SalesType.Stock,
OCR = "123456789",
OCR = "1234567897",
Total = 5000,
SupplierInvoiceRows = new List<SupplierInvoiceRow>()
{
Expand Down Expand Up @@ -95,7 +95,7 @@ public async Task Test_Find()
InvoiceDate = new DateTime(2010, 1, 1),
DueDate = new DateTime(2010, 2, 1),
SalesType = SalesType.Stock,
OCR = "123456789",
OCR = "1234567897",
Total = 5000,
SupplierInvoiceRows = new List<SupplierInvoiceRow>()
{
Expand Down Expand Up @@ -157,7 +157,7 @@ public async Task Test_Book()
InvoiceDate = new DateTime(2020, 1, 1),
DueDate = new DateTime(2020, 2, 1),
SalesType = SalesType.Stock,
OCR = "123456789",
OCR = "1234567897",
Total = 5000,
SupplierInvoiceRows = new List<SupplierInvoiceRow>()
{
Expand Down
2 changes: 1 addition & 1 deletion FortnoxSDK.Tests/ReportedIssuesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public async Task Test_Issue96_fixed() // Origins from https://github.com/Fortno
InvoiceDate = new DateTime(2010, 1, 1),
DueDate = new DateTime(2010, 2, 1),
SalesType = SalesType.Stock,
OCR = "123456789",
OCR = "1234567897",
Total = 5000,
SupplierInvoiceRows = new List<SupplierInvoiceRow>()
{
Expand Down

0 comments on commit 9465c0d

Please sign in to comment.