Fix some tests

This commit is contained in:
James Brooks
2017-03-18 09:49:33 +00:00
parent 485116b5ce
commit c1bd3e40fa
8 changed files with 6 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ final class UserWasCreatedEvent implements ActionInterface, UserEventInterface
*/
public function __toString()
{
return 'User was added.';
return 'User was created.';
}
/**

View File

@@ -23,7 +23,7 @@ use CachetHQ\Cachet\Models\Invite;
final class UserWasInvitedEvent implements UserEventInterface
{
/**
* The invite that has been added.
* The invite that has been created.
*
* @var \CachetHQ\Cachet\Models\Invite
*/

View File

@@ -17,7 +17,7 @@ use CachetHQ\Cachet\Bus\Handlers\Commands\User\CreateUserCommandHandler;
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 Graham Campbell <graham@alt-three.com>

View File

@@ -16,7 +16,7 @@ use CachetHQ\Cachet\Models\MetricPoint;
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>
*/

View File

@@ -15,9 +15,10 @@ use CachetHQ\Cachet\Bus\Events\User\UserWasCreatedEvent;
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 James Brooks <james@alt-three.com>
*/
class UserWasCreatedEventTest extends AbstractUserEventTestCase
{