-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
165144602-feature: users can edit articles
- refactor tests [Delivers #165144602]
- Loading branch information
1 parent
da0c882
commit 1c3672e
Showing
10 changed files
with
105 additions
and
46 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
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 |
---|---|---|
@@ -1,32 +1,34 @@ | ||
export const createUser = { | ||
fullName: 'Tolulope Olaniyan', | ||
email: 'tolulope@gmail.com', | ||
username: 'tolulope', | ||
password: '%RYYT&^UTB*UYT*IUYIU', | ||
username: 'tolulope1', | ||
password: 'Tolu2019&', | ||
bio: 'I Love Javascript', | ||
imageUrl: 'http://waterease.herokuapp.com/images/board/comfort.com' | ||
}; | ||
export const createUserError = { | ||
email: 'tolulope@gmail.com', | ||
username: 'tolulope', | ||
password: '%RYYT&^UTB*UYT*IUYIU', | ||
username: 'tolulope2', | ||
password: 'Tolu2019&', | ||
bio: 'I Love Javascript', | ||
imageUrl: 'http://waterease.herokuapp.com/images/board/comfort.com' | ||
}; | ||
export const createUserEmailError = { | ||
fullName: 'Tolulope Olaniyan', | ||
email: 'tolulope3@gmail.com', | ||
username: 'tolulope', | ||
password: '%RYYT&^UTB*UYT*IUYIU', | ||
username: 'tolulope1', | ||
password: 'Tolu2019&', | ||
bio: 'I Love Javascript', | ||
imageUrl: 'http://waterease.herokuapp.com/images/board/comfort.com' | ||
}; | ||
|
||
export const createUserOtherError = { | ||
fullName: 'Tolulope Olaniyan', | ||
email: 'tolulope3gmail.com', | ||
username: 'tolulope', | ||
password: '%RYYT&^UTB*UYT*IUYIU', | ||
username: 'tolulope4', | ||
password: 'Tolu2019&', | ||
bio: 'I Love Javascript', | ||
imageUrl: 'http://waterease.herokuapp.com/images/board/comfort.com' | ||
}; | ||
|
||
export const JWT_TOKEN = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijk3OWVhYTJlLTViOGYtNDEwMy04MTkyLTQ2MzlhZmFlMmJhOSIsImZ1bGxOYW1lIjoiQ2hpa2UgT3p1bHVtYmEiLCJiaW8iOiJIb2xkIG9uIG5vdywgYXJlbid0IHRoZXJlIGFscmVhZHkgc3BlY3MgZm9yIHRoaXMga2luZCBvZiB0aGluZz8gLSBXZWxsLi4uIG5vLiBXaGlsZSB0aGVyZSBhcmUgYSBmZXcgaGFuZHkgc3BlY2lmaWNhdGlvbnMgZm9yIGRlYWxpbmcgd2l0aCBKU09OIGRhdGEsIG1vc3Qgbm90YWJseSBEb3VnbGFzIENyb2NrZm9yZCdzIEpTT05SZXF1ZXN0IHByb3Bvc2FsLCB0aGVyZSdzIG5vdGhpbmcgdG8gYWRkcmVzcyB0aGUgcHJvYmxlbXMgb2YgZ2VuZXJhbCBhcHBsaWNhdGlvbi1sZXZlbCBtZXNzYWdpbmcuIE1vcmUgb24gdGhpcyBsYXRlci4iLCJlbWFpbCI6ImNoaWtlQGdtYWlsLmNvbSIsInVzZXJuYW1lIjoiY2hpa2VvenVsdW1iYSIsInJvbGUiOiJhZG1pbiIsImlhdCI6MTU1NDk4MzMxNCwiZXhwIjoxNTU1MDY5NzE0fQ.N8mNDNAcy1ZdMVdPGnauMIGnOTGkoUTraKlLSWtfQjc'; |
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