Skip to content

Commit

Permalink
Updating Usr Tests
Browse files Browse the repository at this point in the history
- Missed the c/p from pi -> usr.
  • Loading branch information
ryanrath committed Jul 26, 2017
1 parent ad5fa67 commit 7d27510
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function testUsrCanSeeTheirOwnJobsByPerson() {
)
);

$this->helper->authenticate('pi');
$this->helper->authenticate('usr');

$this->get($this->jobSearchUrl, $params, function ($data) {
$this->assertTrue(count($data['results']) === 1);
Expand All @@ -149,7 +149,7 @@ public function testUserCanOnlySeeTheirOwnJobsByResource($totalCount) {
)
);

$this->helper->authenticate('pi');
$this->helper->authenticate('usr');

$this->get($this->jobSearchUrl, $params, function ($data) use ($totalCount) {
$this->assertTrue(count($data['results']) === 1);
Expand All @@ -166,7 +166,7 @@ public function testUserCannotSeeAnotherUsersJobs() {
)
);

$this->helper->authenticate('pi');
$this->helper->authenticate('usr');

$this->get($this->jobSearchUrl, $params, function ($data) {
$this->assertTrue(count($data['results']) === 0);
Expand Down

0 comments on commit 7d27510

Please sign in to comment.