mirror of https://github.com/statping/statping
docker
parent
cdec79ae8f
commit
cb70a0134d
|
@ -38,4 +38,23 @@ HTML,BODY {
|
||||||
|
|
||||||
.footer A {
|
.footer A {
|
||||||
color: #cccccc;
|
color: #cccccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
|
||||||
|
.container {
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-body {
|
||||||
|
font-size: 6pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg_number {
|
||||||
|
font-size: 22pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestMakeConfig(t *testing.T) {
|
||||||
|
config := &DbConfig{
|
||||||
|
"postgres",
|
||||||
|
"localhost",
|
||||||
|
"travis",
|
||||||
|
"",
|
||||||
|
"postgres",
|
||||||
|
5432,
|
||||||
|
"Testing",
|
||||||
|
"admin",
|
||||||
|
"admin",
|
||||||
|
}
|
||||||
|
err := config.Save()
|
||||||
|
assert.Nil(t, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
func Test(t *testing.T) {
|
||||||
|
|
||||||
|
assert.Equal(t, "", "")
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue