forked from ZekeSnider/Jared
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
099e2f5
commit fca35ca
Showing
7 changed files
with
13 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,9 @@ import JaredFramework | |
class MessageTests: XCTestCase { | ||
let textBody = TextBody("Hey Jared") | ||
|
||
let jaredPerson = Person(givenName: "jared", handle: "[email protected]", isMe: false, inGroup: nil) | ||
let mePerson = Person(givenName: "zeke", handle: "[email protected]", isMe: true, inGroup: nil) | ||
let swiftPerson = Person(givenName: "taylor", handle: "[email protected]", isMe: false, inGroup: nil) | ||
let jaredPerson = Person(givenName: "jared", handle: "[email protected]", isMe: false) | ||
let mePerson = Person(givenName: "zeke", handle: "[email protected]", isMe: true) | ||
let swiftPerson = Person(givenName: "taylor", handle: "[email protected]", isMe: false) | ||
|
||
var sampleGroup: Group! | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ class WebhookTests: XCTestCase { | |
let WEBHOOK_TEST_URL = "https://github.com/zekesnider/jaredwebhook" | ||
let WEBHOOK_TEST_URL_TWO = "https://twitter.com/zekesnider/jaredwebhook" | ||
let MESSAGE_SERIALIZED = "{\"body\":{\"message\":\"hello there jared\"},\"recipient\":{\"handle\":\"[email protected]\",\"givenName\":\"jared\",\"isMe\":false},\"sender\":{\"handle\":\"[email protected]\",\"givenName\":\"zeke\",\"isMe\":true},\"date\":\"2017-05-17T22:57:21.000Z\"}" | ||
let SAMPLE_MESSAGE = Message(body: TextBody("hello there jared"), date: Date(timeIntervalSince1970: TimeInterval(1495061841)), sender: Person(givenName: "zeke", handle: "[email protected]", isMe: true, inGroup: nil), recipient: Person(givenName: "jared", handle: "[email protected]", isMe: false, inGroup: nil)) | ||
let SAMPLE_MESSAGE = Message(body: TextBody("hello there jared"), date: Date(timeIntervalSince1970: TimeInterval(1495061841)), sender: Person(givenName: "zeke", handle: "[email protected]", isMe: true), recipient: Person(givenName: "jared", handle: "[email protected]", isMe: false)) | ||
|
||
var config: URLSessionConfiguration! | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters