Skip to content

Commit

Permalink
Fixed broken Behat scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
benatespina committed Apr 28, 2016
1 parent 4d49534 commit 182e304
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 70 deletions.
140 changes: 70 additions & 70 deletions src/Kreta/Bundle/IssueBundle/Behat/issue.feature
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,76 @@ Feature: Manage issue
}
}
},
{
"id": "3",
"assignee": {
"id": "3",
"username": "user4",
"email": "[email protected]",
"first_name": "Kreta",
"last_name": "User4",
"photo": null
},
"children": [],
"created_at": "2014-10-21T00:00:00+0200",
"description": "Description",
"labels": [
{
"id": "1",
"name": "php"
},
{
"id": "10",
"name": "compass"
},
{
"id": "4",
"name": "behat"
},
{
"id": "5",
"name": "phpspec"
},
{
"id": "7",
"name": "html5"
}
],
"numeric_id": 1,
"parent": null,
"priority": {
"id": "5",
"color": "#67b86a",
"name": "Medium"
},
"resolution": null,
"reporter": {
"id": "0",
"username": "user",
"email": "[email protected]",
"first_name": "Kreta",
"last_name": "User",
"photo": null
},
"status": {
"type": "normal",
"name": "Resolved",
"id": "2",
"color": "#f1c40f"
},
"title": "Test issue 1",
"_links": {
"self": {
"href": "http://kreta.test:8000/api/issues/3"
},
"project": {
"href": "http://kreta.test:8000/api/projects/1"
},
"issues": {
"href": "http://kreta.test:8000/api/issues"
}
}
},
{
"id": "4",
"assignee": {
Expand Down Expand Up @@ -310,76 +380,6 @@ Feature: Manage issue
}
}
},
{
"id": "3",
"assignee": {
"id": "3",
"username": "user4",
"email": "[email protected]",
"first_name": "Kreta",
"last_name": "User4",
"photo": null
},
"children": [],
"created_at": "2014-10-21T00:00:00+0200",
"description": "Description",
"labels": [
{
"id": "1",
"name": "php"
},
{
"id": "10",
"name": "compass"
},
{
"id": "4",
"name": "behat"
},
{
"id": "5",
"name": "phpspec"
},
{
"id": "7",
"name": "html5"
}
],
"numeric_id": 1,
"parent": null,
"priority": {
"id": "5",
"color": "#67b86a",
"name": "Medium"
},
"resolution": null,
"reporter": {
"id": "0",
"username": "user",
"email": "[email protected]",
"first_name": "Kreta",
"last_name": "User",
"photo": null
},
"status": {
"type": "normal",
"name": "Resolved",
"id": "2",
"color": "#f1c40f"
},
"title": "Test issue 1",
"_links": {
"self": {
"href": "http://kreta.test:8000/api/issues/3"
},
"project": {
"href": "http://kreta.test:8000/api/projects/1"
},
"issues": {
"href": "http://kreta.test:8000/api/issues"
}
}
},
{
"id": "1",
"assignee": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,19 @@ Feature: Manage projects
"id": "0",
"image": null,
"name": "Test organization 1",
"participants": [
{
"user": {
"id": "0",
"username": "user",
"email": "[email protected]",
"created_at": "2014-10-20T00:00:00+0200",
"first_name": "Kreta",
"last_name": "User",
"photo": null
}
}
],
"slug": "test-organization-1"
},
"slug": "test-project-1",
Expand Down

0 comments on commit 182e304

Please sign in to comment.