This commit is contained in:
jozsef.b@aycode.com 2024-03-28 19:22:53 +01:00
parent 8c0f89395b
commit 603d1ac054
1 changed files with 4 additions and 1 deletions

View File

@ -352,6 +352,8 @@ namespace TIAM.Database.Test
[DataRow(["8f38f8e3-a92c-4979-88b1-dc812a82245f", "814b5495-c2e9-4f1d-a73f-37cd5d353078", "71392CFD-FB9C-45C1-9540-7BE3782CF26A", "b3f51770-c821-4207-be2a-e622fed2a731"])]
public async Task TransferCrudTest(string[] transferIdProductIdUserProductIdCarIdStrings)
{
var userId = Guid.Parse("540271F6-C604-4C16-8160-D5A7CAFEDF00"); //test@tiam.hu
var transferId = Guid.Parse(transferIdProductIdUserProductIdCarIdStrings[0]);
var productId = Guid.Parse(transferIdProductIdUserProductIdCarIdStrings[1]);
var userProductMappingId = Guid.Parse(transferIdProductIdUserProductIdCarIdStrings[2]);
@ -359,13 +361,14 @@ namespace TIAM.Database.Test
var fromAddress = "Budapest, Liszt Ferenc tér";
var toAddress = "1211 Budapest, Kossuth Lajos utca 145";
var userProductToCarId = Guid.Parse("97179a87-d99f-4f12-b7b2-75e21aaec6ab");
//var userProductToCarId = Guid.Parse("97179a87-d99f-4f12-b7b2-75e21aaec6ab");
await Dal.RemoveTransferAsync(transferId); //kitöröljük a szemetet, ha korábbról bentmaradt - J.
var transfer = new Transfer
{
Id = transferId,
UserId = userId,
ProductId = productId,
//ReferralProductId = productId,
Appointment = DateTime.UtcNow.AddDays(3),