mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
build: move version to a single place
Instead of trying to copy Akvorado version around, move it to a single place, which can be imported by everything else.
This commit is contained in:
@@ -13,13 +13,12 @@ import (
|
||||
|
||||
func TestConfigHandler(t *testing.T) {
|
||||
config := DefaultConfiguration()
|
||||
config.Version = "1.2.3"
|
||||
_, h, _, _ := NewMock(t, config)
|
||||
helpers.TestHTTPEndpoints(t, h.LocalAddr(), helpers.HTTPEndpointCases{
|
||||
{
|
||||
URL: "/api/v0/console/configuration",
|
||||
JSONOutput: gin.H{
|
||||
"version": "1.2.3",
|
||||
"version": "dev",
|
||||
"defaultVisualizeOptions": gin.H{
|
||||
"graphType": "stacked",
|
||||
"start": "24 hours ago",
|
||||
|
||||
Reference in New Issue
Block a user