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
ff610805
Commit
ff610805
authored
Feb 19, 2018
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removes unused variables
parent
8ed12aa2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
pkg/services/sqlstore/dashboard_folder_test.go
+1
-4
pkg/services/sqlstore/dashboard_test.go
+1
-4
No files found.
pkg/services/sqlstore/dashboard_folder_test.go
View file @
ff610805
...
...
@@ -3,7 +3,6 @@ package sqlstore
import
(
"testing"
"github.com/go-xorm/xorm"
.
"github.com/smartystreets/goconvey/convey"
m
"github.com/grafana/grafana/pkg/models"
...
...
@@ -11,10 +10,8 @@ import (
)
func
TestDashboardFolderDataAccess
(
t
*
testing
.
T
)
{
var
x
*
xorm
.
Engine
Convey
(
"Testing DB"
,
t
,
func
()
{
x
=
InitTestDB
(
t
)
InitTestDB
(
t
)
Convey
(
"Given one dashboard folder with two dashboards and one dashboard in the root folder"
,
func
()
{
folder
:=
insertTestDashboard
(
"1 test dash folder"
,
1
,
0
,
true
,
"prod"
,
"webapp"
)
...
...
pkg/services/sqlstore/dashboard_test.go
View file @
ff610805
...
...
@@ -5,7 +5,6 @@ import (
"testing"
"time"
"github.com/go-xorm/xorm"
"github.com/grafana/grafana/pkg/components/simplejson"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/services/search"
...
...
@@ -15,10 +14,8 @@ import (
)
func
TestDashboardDataAccess
(
t
*
testing
.
T
)
{
var
x
*
xorm
.
Engine
Convey
(
"Testing DB"
,
t
,
func
()
{
x
=
InitTestDB
(
t
)
InitTestDB
(
t
)
Convey
(
"Given saved dashboard"
,
func
()
{
savedFolder
:=
insertTestDashboard
(
"1 test dash folder"
,
1
,
0
,
true
,
"prod"
,
"webapp"
)
...
...
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