generated from ita-social-projects/DevTemplate
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2061 from ita-social-projects/refactor-addClub-test
Refactor addClub test
- Loading branch information
Showing
3 changed files
with
422 additions
and
275 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,47 @@ export const CREATE_CLUB_REQUEST = { | |
method: "POST", | ||
body: { | ||
categoriesName: ["Акторська майстерність, театр", "Центр розвитку", "Програмування, робототехніка, STEM"], | ||
name: "Test Automation club new", | ||
name: "Test Request Club", | ||
ageFrom: 10, | ||
ageTo: 18, | ||
description: | ||
'{"blocks":[{"key":"brl63","text":"This is a test description for a new club. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}}],"entityMap":{}}', | ||
userId: "1", | ||
locations: [ | ||
{ | ||
name: "Automation City", | ||
name: "Test Request Location", | ||
cityName: "Дніпро", | ||
districtName: "Амур-Нижньодніпровський", | ||
stationName: "Метробудівників", | ||
address: "Volodymyra Velykoho str.", | ||
coordinates: "49.790387, 24.028195", | ||
phone: "0671834956", | ||
key: 0.112830686973181, | ||
}, | ||
], | ||
urlLogo: "/upload/club/logos/clubLogo.jpg", | ||
urlBackground: "/upload/club/backgrounds/cover.png", | ||
urlGallery: ["/upload/club/galleries/galery.jpg"], | ||
contacts: | ||
'{"1"::"1236547891","2"::"someFacebook","3"::"someWhatsUp","4"::"[email protected]","6"::"testWebPage.com"}', | ||
centerId: 1, | ||
}, | ||
}; | ||
|
||
export const CREATE_CLUB_REQUEST_2 = { | ||
url: "http://localhost:8080/dev/api/club", | ||
method: "POST", | ||
body: { | ||
categoriesName: ["Акторська майстерність, театр", "Центр розвитку", "Програмування, робототехніка, STEM"], | ||
name: "Test Request Second", | ||
ageFrom: 10, | ||
ageTo: 18, | ||
description: | ||
'{"blocks":[{"key":"brl63","text":"This is a test description for a new club. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}}],"entityMap":{}}', | ||
userId: "1", | ||
locations: [ | ||
{ | ||
name: "Test Request Location 2", | ||
cityName: "Дніпро", | ||
districtName: "Амур-Нижньодніпровський", | ||
stationName: "Метробудівників", | ||
|
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
Oops, something went wrong.