forked from ddrilling/AsbCloudServer
24 lines
585 B
C#
24 lines
585 B
C#
|
using AsbCloudApp.Data;
|
||
|
using AsbCloudApp.Services;
|
||
|
|
||
|
namespace AsbCloudWebApi.Tests.IntegrationTests.Controllers;
|
||
|
|
||
|
public class AdminDepositControllerTests : CrudControllerTests<DepositDto, ICrudRepository<DepositDto>>
|
||
|
{
|
||
|
public AdminDepositControllerTests(TestWebApplicationFactory factory) : base(factory)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
protected override string Uri => "api/admin/deposit";
|
||
|
|
||
|
protected override DepositDto GetFakerData() => new()
|
||
|
{
|
||
|
Caption = "Fake deposit",
|
||
|
Timezone = new SimpleTimezoneDto
|
||
|
{
|
||
|
Hours = 5,
|
||
|
IsOverride = false,
|
||
|
TimezoneId = "Екатеринбург"
|
||
|
}
|
||
|
};
|
||
|
}
|