1

further refactor of eventhandling

Co-Authored-By: Talha Caliskan <killerber4t@users.noreply.github.com>
Co-Authored-By: tomvahl <tomvahl@users.noreply.github.com>
Co-Authored-By: xxnitram <xxnitram@users.noreply.github.com>
Co-Authored-By: kasch309 <kasch309@users.noreply.github.com>
This commit is contained in:
Lukas Ettel
2020-03-16 16:33:26 +01:00
parent ee6d2cca9f
commit abd99f6a5e
10 changed files with 60 additions and 29 deletions

View File

@ -73,7 +73,6 @@ public class EventBuilder {
String lastname = faker.name().lastName();
return new AddUserEvent(
faker.random().nextLong(),
group_id,
user_id,
firstname,
@ -103,7 +102,6 @@ public class EventBuilder {
Faker faker = new Faker();
return new DeleteUserEvent(
faker.random().nextLong(),
group_id,
user_id
);
@ -129,7 +127,6 @@ public class EventBuilder {
Faker faker = new Faker();
return new UpdateGroupDescriptionEvent(
faker.random().nextLong(),
group_id,
faker.random().hex(),
faker.leagueOfLegends().quote()
@ -140,7 +137,6 @@ public class EventBuilder {
Faker faker = new Faker();
return new UpdateGroupTitleEvent(
faker.random().nextLong(),
group_id,
faker.random().hex(),
faker.leagueOfLegends().champion()
@ -151,7 +147,6 @@ public class EventBuilder {
Faker faker = new Faker();
return new UpdateRoleEvent(
faker.random().nextLong(),
group_id,
user_id,
role