From 6b1f4cf010a67093f34a8e17daffe9581fd804ee Mon Sep 17 00:00:00 2001 From: Well Lin Date: Wed, 29 Apr 2026 13:35:12 +1000 Subject: [PATCH] chore: Delete deprecated employee endpoint tests --- .../Api/AccountingApiTests.cs | 42 ------------------- 1 file changed, 42 deletions(-) diff --git a/Xero.NetStandard.OAuth2.Test/Api/AccountingApiTests.cs b/Xero.NetStandard.OAuth2.Test/Api/AccountingApiTests.cs index 164c410a..6f9a261b 100755 --- a/Xero.NetStandard.OAuth2.Test/Api/AccountingApiTests.cs +++ b/Xero.NetStandard.OAuth2.Test/Api/AccountingApiTests.cs @@ -498,20 +498,6 @@ public async Task CreateCurrencyTest() Assert.IsType(response); } - /// - /// Test CreateEmployees - /// - [Fact] - public async Task CreateEmployeesTest() - { - // TODO uncomment below to test the method and replace null with proper value - string xeroTenantId = AutoFaker.Generate(); - Employees employees = new Employees(); - employees._Employees = new List { new Employee() }; - var response = await instance.CreateEmployeesAsync(accessToken, xeroTenantId, employees); - Assert.IsType(response); - } - /// /// Test CreateExpenseClaimHistory /// @@ -1630,34 +1616,6 @@ public async Task GetCurrenciesTest() Assert.IsType(response); } - /// - /// Test GetEmployee - /// - [Fact] - public async Task GetEmployeeTest() - { - // TODO uncomment below to test the method and replace null with proper value - string xeroTenantId = AutoFaker.Generate(); - Guid employeeID = AutoFaker.Generate(); - var response = await instance.GetEmployeeAsync(accessToken, xeroTenantId, employeeID); - Assert.IsType(response); - } - - /// - /// Test GetEmployees - /// - [Fact] - public async Task GetEmployeesTest() - { - // TODO uncomment below to test the method and replace null with proper value - string xeroTenantId = AutoFaker.Generate(); - DateTime? ifModifiedSince = AutoFaker.Generate(); - string where = AutoFaker.Generate(); - string order = AutoFaker.Generate(); - var response = await instance.GetEmployeesAsync(accessToken, xeroTenantId, ifModifiedSince, where, order); - Assert.IsType(response); - } - /// /// Test GetExpenseClaim ///