mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-04-20 04:05:29 +00:00
Voice: Omit deprecated function in tests
This commit is contained in:
parent
cdc0cfc300
commit
8356a8a3f6
|
@ -89,12 +89,6 @@ func TestIntegration(t *testing.T) {
|
||||||
if err := vs.Speaking(voicegateway.Microphone); err != nil {
|
if err := vs.Speaking(voicegateway.Microphone); err != nil {
|
||||||
t.Fatal("failed to start speaking:", err)
|
t.Fatal("failed to start speaking:", err)
|
||||||
}
|
}
|
||||||
t.Cleanup(func() {
|
|
||||||
log.Println("Stopping speaking.")
|
|
||||||
if err := vs.StopSpeaking(); err != nil {
|
|
||||||
t.Fatal("failed to stop speaking:", err)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
finish("sending the speaking command")
|
finish("sending the speaking command")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue