Files
Atay-Makhzan/services/auth/source/sspi/assert_interface_test.go
T

19 lines
474 B
Go
Raw Normal View History

2021-07-24 11:16:34 +01:00
// Copyright 2021 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
2021-07-24 11:16:34 +01:00
package sspi_test
import (
2022-01-02 21:12:35 +08:00
"code.gitea.io/gitea/models/auth"
2021-07-24 11:16:34 +01:00
"code.gitea.io/gitea/services/auth/source/sspi"
)
// This test file exists to assert that our Source exposes the interfaces that we expect
// It tightly binds the interfaces and implementation without breaking go import cycles
type sourceInterface interface {
2022-01-02 21:12:35 +08:00
auth.Config
2021-07-24 11:16:34 +01:00
}
var _ (sourceInterface) = &sspi.Source{}