Added command tests

This commit is contained in:
James Brooks
2015-10-03 16:34:11 +01:00
parent 939bdf0c4e
commit 127d0d0d55
45 changed files with 1163 additions and 25 deletions
+12 -1
View File
@@ -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.
*