1313namespace CakeDC \Users \Test \Fixture ;
1414
1515use Cake \TestSuite \Fixture \TestFixture ;
16+ use CakeDC \Users \Model \Table \UsersTable ;
1617use CakeDC \Users \Webauthn \Base64Utility ;
1718
1819/**
@@ -44,7 +45,7 @@ public function init(): void
4445 'tos_date ' => '2015-06-24 17:33:54 ' ,
4546 'active ' => false ,
4647 'is_superuser ' => true ,
47- 'role ' => ' admin ' ,
48+ 'role ' => UsersTable:: ROLE_ADMIN ,
4849 'created ' => '2015-06-24 17:33:54 ' ,
4950 'modified ' => '2015-06-24 17:33:54 ' ,
5051 'additional_data ' => [
@@ -85,7 +86,7 @@ public function init(): void
8586 'tos_date ' => '2015-06-24 17:33:54 ' ,
8687 'active ' => true ,
8788 'is_superuser ' => true ,
88- 'role ' => ' admin ' ,
89+ 'role ' => UsersTable:: ROLE_ADMIN ,
8990 'created ' => '2015-06-24 17:33:54 ' ,
9091 'modified ' => '2015-06-24 17:33:54 ' ,
9192 'last_login ' => '2015-06-24 17:33:54 ' ,
@@ -106,7 +107,7 @@ public function init(): void
106107 'is_superuser ' => true ,
107108 'tos_date ' => '2015-06-24 17:33:54 ' ,
108109 'active ' => false ,
109- 'role ' => ' admin ' ,
110+ 'role ' => UsersTable:: ROLE_ADMIN ,
110111 'created ' => '2015-06-24 17:33:54 ' ,
111112 'modified ' => '2015-06-24 17:33:54 ' ,
112113 ],
@@ -146,7 +147,7 @@ public function init(): void
146147 'tos_date ' => '2015-06-24 17:33:54 ' ,
147148 'active ' => true ,
148149 'is_superuser ' => false ,
149- 'role ' => ' user ' ,
150+ 'role ' => UsersTable:: ROLE_USER ,
150151 'created ' => '2015-06-24 17:33:54 ' ,
151152 'modified ' => '2015-06-24 17:33:54 ' ,
152153 ],
@@ -166,7 +167,7 @@ public function init(): void
166167 'tos_date ' => '2015-06-24 17:33:54 ' ,
167168 'active ' => true ,
168169 'is_superuser ' => false ,
169- 'role ' => ' user ' ,
170+ 'role ' => UsersTable:: ROLE_USER ,
170171 'created ' => '2015-06-24 17:33:54 ' ,
171172 'modified ' => '2015-06-24 17:33:54 ' ,
172173 ],
0 commit comments