Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

WIP: Improve test data #2160

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ required = [
"github.com/wadey/gocovmerge",
"github.com/pilu/fresh",
"github.com/gojuno/minimock/cmd/minimock",
"github.com/araddon/dateparse",
]

ignored = [
Expand Down Expand Up @@ -154,3 +155,6 @@ ignored = [
go-tests = true
unused-packages = true

[[constraint]]
name = "github.com/araddon/dateparse"
revision = "42dbd9f872ebcc2d9bb8a5bf541984c9e1e50f8e"
1 change: 1 addition & 0 deletions application/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type Application interface {
Events() event.Repository
SpaceTemplates() spacetemplate.Repository
WorkItemTypeGroups() workitem.WorkItemTypeGroupRepository
WorkItemRevisions() workitem.RevisionRepository
Boards() workitem.BoardRepository
}

Expand Down
2 changes: 1 addition & 1 deletion codebase/codebase.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const (
)

// ToMap converts Content to a map of string->Interface{}
func (c *Content) ToMap() map[string]interface{} {
func (c Content) ToMap() map[string]interface{} {
res := make(map[string]interface{})
res[RepositoryKey] = c.Repository
res[BranchKey] = c.Branch
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": {
"attributes": {
"area_field": "",
"area_field": "00000000-0000-0000-0000-000000000000",
"version": 1
},
"id": "00000000-0000-0000-0000-000000000001",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"data": {
"attributes": {
"area_field": "",
"area_field": "00000000-0000-0000-0000-000000000000",
"system.created_at": "0001-01-01T00:00:00Z",
"system.metastate": null,
"system.number": 1,
"system.order": 1000,
"system.remote_item_id": null,
Expand Down Expand Up @@ -52,6 +53,11 @@
"type": "users"
}
},
"events": {
"links": {
"related": "http:///api/workitems/00000000-0000-0000-0000-000000000001/events"
}
},
"iteration": {},
"labels": {
"links": {
Expand All @@ -68,6 +74,7 @@
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000004"
}
},
"system.boardcolumns": {},
"workItemLinks": {
"links": {
"related": "http:///api/workitems/00000000-0000-0000-0000-000000000001/links"
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"float_field": -1111.1,
"system.created_at": "0001-01-01T00:00:00Z",
"system.metastate": null,
"system.number": 6,
"system.order": 6000,
"system.number": 5,
"system.order": 5000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "float_wi",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"float_field": 555.2,
"system.created_at": "0001-01-01T00:00:00Z",
"system.metastate": null,
"system.number": 6,
"system.order": 6000,
"system.number": 5,
"system.order": 5000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "float_wi",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"instant_field": "0001-01-01T00:00:00Z",
"system.created_at": "0001-01-01T00:00:00Z",
"system.metastate": null,
"system.number": 7,
"system.order": 7000,
"system.number": 6,
"system.order": 6000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "instant_wi",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"integer_field": 333,
"system.created_at": "0001-01-01T00:00:00Z",
"system.metastate": null,
"system.number": 8,
"system.order": 8000,
"system.number": 7,
"system.order": 7000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "integer_wi",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"integer_field": -100,
"system.created_at": "0001-01-01T00:00:00Z",
"system.metastate": null,
"system.number": 8,
"system.order": 8000,
"system.number": 7,
"system.order": 7000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "integer_wi",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"iteration_field": "00000000-0000-0000-0000-000000000001",
"system.created_at": "0001-01-01T00:00:00Z",
"system.metastate": null,
"system.number": 9,
"system.order": 9000,
"system.number": 8,
"system.order": 8000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "iteration_wi",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": {
"attributes": {
"iteration_field": "",
"iteration_field": "00000000-0000-0000-0000-000000000000",
"version": 1
},
"id": "00000000-0000-0000-0000-000000000001",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"data": {
"attributes": {
"iteration_field": "",
"iteration_field": "00000000-0000-0000-0000-000000000000",
"system.created_at": "0001-01-01T00:00:00Z",
"system.metastate": null,
"system.number": 9,
"system.order": 9000,
"system.number": 8,
"system.order": 8000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "iteration_wi",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"label_field": "00000000-0000-0000-0000-000000000001",
"system.created_at": "0001-01-01T00:00:00Z",
"system.metastate": null,
"system.number": 10,
"system.order": 10000,
"system.number": 9,
"system.order": 9000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "label_wi",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": {
"attributes": {
"label_field": "",
"label_field": "00000000-0000-0000-0000-000000000000",
"version": 1
},
"id": "00000000-0000-0000-0000-000000000001",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"data": {
"attributes": {
"label_field": "",
"label_field": "00000000-0000-0000-0000-000000000000",
"system.created_at": "0001-01-01T00:00:00Z",
"system.metastate": null,
"system.number": 10,
"system.order": 10000,
"system.number": 9,
"system.order": 9000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "label_wi",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
},
"system.created_at": "0001-01-01T00:00:00Z",
"system.metastate": null,
"system.number": 11,
"system.order": 11000,
"system.number": 10,
"system.order": 10000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "markup_wi",
Expand Down
Loading