api/pkg/files/main_test.go

30 lines
942 B
Go
Raw Normal View History

2020-01-09 17:33:22 +00:00
// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved.
2019-10-16 20:52:29 +00:00
//
// This file is part of Vikunja.
//
// Vikunja is free software: you can redistribute it and/or modify
2020-12-23 15:41:52 +00:00
// it under the terms of the GNU Affero General Public Licensee as published by
2019-10-16 20:52:29 +00:00
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Vikunja is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2020-12-23 15:41:52 +00:00
// GNU Affero General Public Licensee for more details.
2019-10-16 20:52:29 +00:00
//
2020-12-23 15:41:52 +00:00
// You should have received a copy of the GNU Affero General Public Licensee
2019-10-16 20:52:29 +00:00
// along with Vikunja. If not, see <https://www.gnu.org/licenses/>.
package files
import (
"os"
"testing"
)
// TestMain is the main test function used to bootstrap the test env
func TestMain(m *testing.M) {
InitTests()
os.Exit(m.Run())
}