Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
ef0facc9
Commit
ef0facc9
authored
Jun 09, 2017
by
Daniel Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP: fix test after merge conflict
parent
9f79b9b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pkg/services/sqlstore/dashboard_version_test.go
+2
-2
No files found.
pkg/services/sqlstore/dashboard_version_test.go
View file @
ef0facc9
...
@@ -28,7 +28,7 @@ func TestGetDashboardVersion(t *testing.T) {
...
@@ -28,7 +28,7 @@ func TestGetDashboardVersion(t *testing.T) {
InitTestDB
(
t
)
InitTestDB
(
t
)
Convey
(
"Get a Dashboard ID and version ID"
,
func
()
{
Convey
(
"Get a Dashboard ID and version ID"
,
func
()
{
savedDash
:=
insertTestDashboard
(
"test dash 26"
,
1
,
"diff"
)
savedDash
:=
insertTestDashboard
(
"test dash 26"
,
1
,
0
,
false
,
"diff"
)
query
:=
m
.
GetDashboardVersionQuery
{
query
:=
m
.
GetDashboardVersionQuery
{
DashboardId
:
savedDash
.
Id
,
DashboardId
:
savedDash
.
Id
,
...
@@ -69,7 +69,7 @@ func TestGetDashboardVersion(t *testing.T) {
...
@@ -69,7 +69,7 @@ func TestGetDashboardVersion(t *testing.T) {
func
TestGetDashboardVersions
(
t
*
testing
.
T
)
{
func
TestGetDashboardVersions
(
t
*
testing
.
T
)
{
Convey
(
"Testing dashboard versions retrieval"
,
t
,
func
()
{
Convey
(
"Testing dashboard versions retrieval"
,
t
,
func
()
{
InitTestDB
(
t
)
InitTestDB
(
t
)
savedDash
:=
insertTestDashboard
(
"test dash 43"
,
1
,
"diff-all"
)
savedDash
:=
insertTestDashboard
(
"test dash 43"
,
1
,
0
,
false
,
"diff-all"
)
Convey
(
"Get all versions for a given Dashboard ID"
,
func
()
{
Convey
(
"Get all versions for a given Dashboard ID"
,
func
()
{
query
:=
m
.
GetDashboardVersionsQuery
{
DashboardId
:
savedDash
.
Id
,
OrgId
:
1
}
query
:=
m
.
GetDashboardVersionsQuery
{
DashboardId
:
savedDash
.
Id
,
OrgId
:
1
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment