mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-12-02 20:02:53 +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 {
|
||||
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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue