34 lines · 823 B · Go
RawDownload
// Copyright 2020 The Gitea Authors. All rights reserved.// SPDX-License-Identifier: MIT package models import (	"testing" 	activities_model "forgejo.org/models/activities"	"forgejo.org/models/organization"	repo_model "forgejo.org/models/repo"	"forgejo.org/models/unittest"	user_model "forgejo.org/models/user" 	_ "forgejo.org/models/actions"	_ "forgejo.org/models/forgefed"	_ "forgejo.org/models/system" 	"github.com/stretchr/testify/require") // TestFixturesAreConsistent assert that test fixtures are consistentfunc TestFixturesAreConsistent(t *testing.T) {	require.NoError(t, unittest.PrepareTestDatabase())	unittest.CheckConsistencyFor(t,		&user_model.User{},		&repo_model.Repository{},		&organization.Team{},		&activities_model.Action{})} func TestMain(m *testing.M) {	unittest.MainTest(m)}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t