Skip to content

Commit 6b1db23

Browse files
committed
Add a generic test to create a Company.
1 parent e97aa44 commit 6b1db23

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

features/main/issue_5736_aerendir.feature

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ Feature: Resources, subresources and their subresources with uri variables that
33
As a client software developer
44
I need to be able to update subresources and their deeper subresources
55

6+
@createSchema
7+
Scenario: POST Company
8+
Given I add "Content-Type" header equal to "application/json"
9+
And I send a "POST" request to "/issue5736_companies" with body:
10+
"""
11+
{
12+
"name": "Company 1"
13+
}
14+
"""
15+
16+
Then the response status code should be 201
17+
618
@createSchema
719
Scenario: PUT Team with POST Employee
820
Given I add "Content-Type" header equal to "application/json"

0 commit comments

Comments
 (0)