Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions test/Github/Tests/Api/NotificationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,17 @@ public function shouldMarkNotificationsAsReadForGivenDate()

$api->markRead($since);
}
public function shouldGetNotification()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add blank line between functions

{
$id = mt_rand(1, time());
;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra semicolon.

$api = $this->getApiMock();
$api->expects($this->once())
->method('get')
->with('/notification/'.$id);

$api->id($id);
}

/**
* @return string
Expand Down