Fix some tests
This commit is contained in:
@@ -47,7 +47,7 @@ final class UserWasCreatedEvent implements ActionInterface, UserEventInterface
|
|||||||
*/
|
*/
|
||||||
public function __toString()
|
public function __toString()
|
||||||
{
|
{
|
||||||
return 'User was added.';
|
return 'User was created.';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ use CachetHQ\Cachet\Models\Invite;
|
|||||||
final class UserWasInvitedEvent implements UserEventInterface
|
final class UserWasInvitedEvent implements UserEventInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The invite that has been added.
|
* The invite that has been created.
|
||||||
*
|
*
|
||||||
* @var \CachetHQ\Cachet\Models\Invite
|
* @var \CachetHQ\Cachet\Models\Invite
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ use CachetHQ\Cachet\Bus\Handlers\Commands\User\CreateUserCommandHandler;
|
|||||||
use CachetHQ\Tests\Cachet\AbstractTestCase;
|
use CachetHQ\Tests\Cachet\AbstractTestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the add user command test class.
|
* This is the create user command test class.
|
||||||
*
|
*
|
||||||
* @author James Brooks <james@alt-three.com>
|
* @author James Brooks <james@alt-three.com>
|
||||||
* @author Graham Campbell <graham@alt-three.com>
|
* @author Graham Campbell <graham@alt-three.com>
|
||||||
@@ -16,7 +16,7 @@ use CachetHQ\Cachet\Models\MetricPoint;
|
|||||||
use CachetHQ\Cachet\Models\User;
|
use CachetHQ\Cachet\Models\User;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the metric point was added event test class.
|
* This is the metric point was created event test class.
|
||||||
*
|
*
|
||||||
* @author James Brooks <james@alt-three.com>
|
* @author James Brooks <james@alt-three.com>
|
||||||
*/
|
*/
|
||||||
@@ -15,9 +15,10 @@ use CachetHQ\Cachet\Bus\Events\User\UserWasCreatedEvent;
|
|||||||
use CachetHQ\Cachet\Models\User;
|
use CachetHQ\Cachet\Models\User;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the user was added event test class.
|
* This is the user was created event test class.
|
||||||
*
|
*
|
||||||
* @author Graham Campbell <graham@alt-three.com>
|
* @author Graham Campbell <graham@alt-three.com>
|
||||||
|
* @author James Brooks <james@alt-three.com>
|
||||||
*/
|
*/
|
||||||
class UserWasCreatedEventTest extends AbstractUserEventTestCase
|
class UserWasCreatedEventTest extends AbstractUserEventTestCase
|
||||||
{
|
{
|
||||||
Reference in New Issue
Block a user