mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 12:17:06 +00:00
fix failing tests
This commit is contained in:
parent
85c822cad6
commit
7850325839
2 changed files with 2 additions and 1 deletions
|
|
@ -61,6 +61,7 @@ func TestSessionToMap(t *testing.T) {
|
||||||
"hideids": "false",
|
"hideids": "false",
|
||||||
"receipts": "true",
|
"receipts": "true",
|
||||||
"nativeedits": "false",
|
"nativeedits": "false",
|
||||||
|
"ignoregroupdeletions": "false",
|
||||||
}
|
}
|
||||||
if !reflect.DeepEqual(m, sample) {
|
if !reflect.DeepEqual(m, sample) {
|
||||||
t.Errorf("Map does not match the sample: %v", m)
|
t.Errorf("Map does not match the sample: %v", m)
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ func (c *Client) wizardStageOrPrompt(stage, message string) {
|
||||||
log.Debugf("writing wizard stage %v", stage)
|
log.Debugf("writing wizard stage %v", stage)
|
||||||
c.loginWizard.nextStage <- stage
|
c.loginWizard.nextStage <- stage
|
||||||
} else {
|
} else {
|
||||||
log.Warn("Skipping stage %v, wizard cannot keep up", stage)
|
log.Warnf("Skipping stage %v, wizard cannot keep up", stage)
|
||||||
}
|
}
|
||||||
c.loginWizard.chanBusy = true
|
c.loginWizard.chanBusy = true
|
||||||
c.locks.loginWizardWriteLock.Unlock()
|
c.locks.loginWizardWriteLock.Unlock()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue