|
@@ -174,17 +174,17 @@ namespace TestProject1
|
|
|
}
|
|
|
//UT 8
|
|
|
|
|
|
- public async Task<ModeledResponse<Genders>> InsertDishes()
|
|
|
+ public async Task<ModeledResponse<Genders>> InsertGenders()
|
|
|
{
|
|
|
- var dishes = new Genders
|
|
|
+ var genders = new Genders
|
|
|
{
|
|
|
Id = 100,
|
|
|
Title = "Êàðáîíàðà",
|
|
|
};
|
|
|
- return await supabase.From<Genders>().Upsert(dishes);
|
|
|
+ return await supabase.From<Genders>().Upsert(genders);
|
|
|
}
|
|
|
[TestMethod]
|
|
|
- public async Task DishesInsert()
|
|
|
+ public async Task GendersInsert()
|
|
|
{
|
|
|
var url = "https://unmeiceifhurzmiokboh.supabase.co";
|
|
|
var key = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InVubWVpY2VpZmh1cnptaW9rYm9oIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MzA5MDU0MDUsImV4cCI6MjA0NjQ4MTQwNX0._7UneKbsr9O1DVE0OrlrRD5ZZlYrLWDOC1T-IJmJqvA";
|
|
@@ -194,8 +194,7 @@ namespace TestProject1
|
|
|
};
|
|
|
var supabase = new Supabase.Client(url, key, options);
|
|
|
Initialize();
|
|
|
- Initialize();
|
|
|
- var result = await InsertDishes();
|
|
|
+ var result = await InsertGenders();
|
|
|
}
|
|
|
}
|
|
|
}
|