/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
go/engine/user_config_test.go
28 строк
626 B
Maxwell Krohn
kill engine v1
08 май 2018, 23:18
08 май 2018, 23:18
4f18b2c
Код
Авторство
О чём код?
// Copyright 2015 Keybase, Inc. All rights reserved. Use of // this source code is governed by the included BSD license. package engine import ( "testing" ) func TestSetPrimaryPictureSource(t *testing.T) { tc := SetupEngineTest(t, "user config") defer tc.Cleanup() CreateAndSignupFakeUser(tc, "cfg") // TODO Setup pictures with multiple sources m := NewMetaContextForTestWithLogUI(tc) eng := NewUserConfigEngine(tc.G, &UserConfigEngineArg{ Key: "picture.source", Value: "github", }) err := RunEngine2(m, eng) if err != nil { t.Fatal(err) } // TODO Check that the primary picture source was changed }