You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.
In the current setup the child role in a HierarchicalRole is another Role instance with the same name. This is because of how the InMemoryRoleProvider is creating the roles. For example the $memberRole in the InMemoryRoleProviderTest is not the same object as the first child role of the $adminRole.
It would be cool to change the setup so that these tests are successful. I also think it will save some memory because in this case the roles are instantiated only once.
In the current setup the child role in a
HierarchicalRole
is another Role instance with the same name. This is because of how theInMemoryRoleProvider
is creating the roles. For example the$memberRole
in theInMemoryRoleProviderTest
is not the same object as the first child role of the$adminRole
.It would be cool to change the setup so that these tests are successful. I also think it will save some memory because in this case the roles are instantiated only once.
The text was updated successfully, but these errors were encountered: