Skip to content

Commit

Permalink
Merge branch 'feature/WEOS-1324' of github.com:wepala/weos-content-se…
Browse files Browse the repository at this point in the history
…rvice into feature/WEOS-1324
  • Loading branch information
atoniaw committed Feb 11, 2022
2 parents 6a5fb46 + f27f1ff commit 62ead6d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion end2end_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ func TestBDD(t *testing.T) {
Options: &godog.Options{
Format: "pretty",
Tags: "~skipped && ~long",
//Tags: "WEOS-1131",
//Tags: "focus1",
//Tags: "WEOS-1110 && ~skipped",
},
}.Run()
Expand Down
5 changes: 3 additions & 2 deletions features/edit-content.feature
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,15 @@ Feature: Edit content
And the "Blog" is updated
| title | description |
| Some New Title | Some Description |


@focus1
Scenario: Update item with invalid data

If the content type validation fails then a 422 response code should be returned (the request could have a valid
format but the contents are invalid)

Given "Sojourner" is on the "Blog" edit screen with id "1234"
And "Sojourner" enters "Some New Title" in the "LastUpdated" field
And "Sojourner" enters "Some New Title" in the "lastUpdated" field

When the "Blog" is submitted
Then a 422 response should be returned
Expand Down
Binary file removed tasks.db
Binary file not shown.
Binary file removed weos-linux-amd64
Binary file not shown.

0 comments on commit 62ead6d

Please sign in to comment.