2020-04-22 23:43:17 -07:00
|
|
|
// This file is part of MinIO Console Server
|
2021-01-19 17:04:13 -06:00
|
|
|
// Copyright (c) 2021 MinIO, Inc.
|
2020-04-22 23:43:17 -07:00
|
|
|
//
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU Affero General Public License as published by
|
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
//
|
|
|
|
|
// This program 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
|
|
|
|
|
// GNU Affero General Public License for more details.
|
|
|
|
|
//
|
|
|
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2023-12-26 15:07:30 -06:00
|
|
|
package api
|
2020-04-08 12:36:14 -07:00
|
|
|
|
2020-04-22 23:43:17 -07:00
|
|
|
import "testing"
|
2020-04-08 12:36:14 -07:00
|
|
|
|
2020-04-22 23:43:17 -07:00
|
|
|
// mock function of Get()
|
2020-07-26 00:34:17 -07:00
|
|
|
func (ac consoleCredentialsMock) Expire() {
|
2020-04-22 23:43:17 -07:00
|
|
|
// Do nothing
|
2020-07-26 00:34:17 -07:00
|
|
|
// Implementing this method for the consoleCredentials interface
|
2020-04-22 23:43:17 -07:00
|
|
|
}
|
2020-04-08 12:36:14 -07:00
|
|
|
|
2023-03-22 15:06:04 -06:00
|
|
|
func TestLogout(_ *testing.T) {
|
2020-04-22 23:43:17 -07:00
|
|
|
// There's nothing to test right now
|
2020-04-08 12:36:14 -07:00
|
|
|
}
|