mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-24 11:50:05 +02:00
test: SerchDialog tests
This commit is contained in:
1 parent
63c49bc94d
commit
e2602967ab
3 files changed
+239
-5
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using MediatR;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Blazor.Messages
|
||||
{
|
||||
public class OpenClanInfoMessage: INotification
|
||||
{
|
||||
public long ClanId { get; }
|
||||
|
||||
public OpenClanInfoMessage(long clanId)
|
||||
{
|
||||
ClanId = clanId;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -108,7 +108,7 @@ namespace WotBlitzStatisticsPro.Blazor.Pages
|
||||
|
||||
if (DialogType == DialogType.FindClan)
|
||||
{
|
||||
//await Mediator.Publish(new OpenClanInfoMessage(CurrentValue, false));
|
||||
await Mediator.Publish(new OpenClanInfoMessage(CurrentValue));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user