Skip to content

Commit c1bd3e4

Browse files
committed
Fix some tests
1 parent 485116b commit c1bd3e4

8 files changed

+6
-5
lines changed

app/Bus/Events/User/UserWasCreatedEvent.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct(User $user)
4747
*/
4848
public function __toString()
4949
{
50-
return 'User was added.';
50+
return 'User was created.';
5151
}
5252

5353
/**

app/Bus/Events/User/UserWasInvitedEvent.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
final class UserWasInvitedEvent implements UserEventInterface
2424
{
2525
/**
26-
* The invite that has been added.
26+
* The invite that has been created.
2727
*
2828
* @var \CachetHQ\Cachet\Models\Invite
2929
*/

tests/Bus/Commands/User/AddUserCommandTest.php tests/Bus/Commands/User/CreateUserCommandTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use CachetHQ\Tests\Cachet\AbstractTestCase;
1818

1919
/**
20-
* This is the add user command test class.
20+
* This is the create user command test class.
2121
*
2222
* @author James Brooks <james@alt-three.com>
2323
* @author Graham Campbell <graham@alt-three.com>

tests/Bus/Events/Metric/MetricPointWasAddedEventTest.php tests/Bus/Events/Metric/MetricPointWasCreatedEventTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use CachetHQ\Cachet\Models\User;
1717

1818
/**
19-
* This is the metric point was added event test class.
19+
* This is the metric point was created event test class.
2020
*
2121
* @author James Brooks <james@alt-three.com>
2222
*/

tests/Bus/Events/User/UserWasAddedEventTest.php tests/Bus/Events/User/UserWasCreatedEventTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
use CachetHQ\Cachet\Models\User;
1616

1717
/**
18-
* This is the user was added event test class.
18+
* This is the user was created event test class.
1919
*
2020
* @author Graham Campbell <graham@alt-three.com>
21+
* @author James Brooks <james@alt-three.com>
2122
*/
2223
class UserWasCreatedEventTest extends AbstractUserEventTestCase
2324
{

0 commit comments

Comments
 (0)