Added command tests
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace CachetHQ\Cachet\Commands\User;
|
||||
|
||||
class AddTeamMemberCommand
|
||||
final class AddTeamMemberCommand
|
||||
{
|
||||
/**
|
||||
* The user username.
|
||||
@@ -41,6 +41,17 @@ class AddTeamMemberCommand
|
||||
*/
|
||||
public $level;
|
||||
|
||||
/**
|
||||
* The validation rules.
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
public $rules = [
|
||||
'name' => 'required|string',
|
||||
'password' => 'string',
|
||||
'level' => 'integer',
|
||||
];
|
||||
|
||||
/**
|
||||
* Create a new add team member command instance.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user