mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 12:45:47 +00:00
tests: fix api tests
This commit is contained in:
@@ -194,12 +194,13 @@ func TestAppContext(t *testing.T) {
|
|||||||
|
|
||||||
// Create tests values
|
// Create tests values
|
||||||
expected := types.AppContext{
|
expected := types.AppContext{
|
||||||
Status: 200,
|
Status: 200,
|
||||||
Message: "OK",
|
Message: "OK",
|
||||||
ConfiguredProviders: []string{"username"},
|
ConfiguredProviders: []string{"username"},
|
||||||
DisableContinue: false,
|
DisableContinue: false,
|
||||||
Title: "Tinyauth",
|
Title: "Tinyauth",
|
||||||
GenericName: "Generic",
|
GenericName: "Generic",
|
||||||
|
ForgotPasswordMessage: "Some message",
|
||||||
}
|
}
|
||||||
|
|
||||||
// We should get the username back
|
// We should get the username back
|
||||||
|
|||||||
Reference in New Issue
Block a user