Skip to content

Commit 2ead6d5

Browse files
authored
chore: Delete deprecated employee endpoint tests (#650)
1 parent badb60b commit 2ead6d5

1 file changed

Lines changed: 0 additions & 42 deletions

File tree

Xero.NetStandard.OAuth2.Test/Api/AccountingApiTests.cs

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -498,20 +498,6 @@ public async Task CreateCurrencyTest()
498498
Assert.IsType<Currencies>(response);
499499
}
500500

501-
/// <summary>
502-
/// Test CreateEmployees
503-
/// </summary>
504-
[Fact]
505-
public async Task CreateEmployeesTest()
506-
{
507-
// TODO uncomment below to test the method and replace null with proper value
508-
string xeroTenantId = AutoFaker.Generate<string>();
509-
Employees employees = new Employees();
510-
employees._Employees = new List<Employee> { new Employee() };
511-
var response = await instance.CreateEmployeesAsync(accessToken, xeroTenantId, employees);
512-
Assert.IsType<Employees>(response);
513-
}
514-
515501
/// <summary>
516502
/// Test CreateExpenseClaimHistory
517503
/// </summary>
@@ -1630,34 +1616,6 @@ public async Task GetCurrenciesTest()
16301616
Assert.IsType<Currencies>(response);
16311617
}
16321618

1633-
/// <summary>
1634-
/// Test GetEmployee
1635-
/// </summary>
1636-
[Fact]
1637-
public async Task GetEmployeeTest()
1638-
{
1639-
// TODO uncomment below to test the method and replace null with proper value
1640-
string xeroTenantId = AutoFaker.Generate<string>();
1641-
Guid employeeID = AutoFaker.Generate<Guid>();
1642-
var response = await instance.GetEmployeeAsync(accessToken, xeroTenantId, employeeID);
1643-
Assert.IsType<Employees>(response);
1644-
}
1645-
1646-
/// <summary>
1647-
/// Test GetEmployees
1648-
/// </summary>
1649-
[Fact]
1650-
public async Task GetEmployeesTest()
1651-
{
1652-
// TODO uncomment below to test the method and replace null with proper value
1653-
string xeroTenantId = AutoFaker.Generate<string>();
1654-
DateTime? ifModifiedSince = AutoFaker.Generate<DateTime?>();
1655-
string where = AutoFaker.Generate<string>();
1656-
string order = AutoFaker.Generate<string>();
1657-
var response = await instance.GetEmployeesAsync(accessToken, xeroTenantId, ifModifiedSince, where, order);
1658-
Assert.IsType<Employees>(response);
1659-
}
1660-
16611619
/// <summary>
16621620
/// Test GetExpenseClaim
16631621
/// </summary>

0 commit comments

Comments
 (0)