ShayHav / Workshop

0 stars 0 forks source link

HW from Bar #54

Closed arielr77 closed 2 years ago

arielr77 commented 2 years ago

At init - register 3 users: user1 user2 user3

  1. user1 --->Founder
  2. user 1 --->appoints user2 owner
  3. user 2 --->appoints user3 owner
  4. user 3 ---> try to remove user 2 and fails
  5. user1 ---> removes user 2 which chains to remove user 3
nitay658 commented 2 years ago

make a test for this. UserControllerTest - DismissalOwner.

Branch: fix-varsion2