mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
fix failing tests since the username was not found
This commit is contained in:
parent
3e2b524288
commit
7434ef12db
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ import "testing"
|
|||
|
||||
func TestUserid(t *testing.T) {
|
||||
t.Run("returns a link to a users profile picture", func(t *testing.T) {
|
||||
request := Userid("nouryqt")
|
||||
request := Userid("nouryxd")
|
||||
response := "31437432"
|
||||
|
||||
got := request
|
||||
|
|
|
@ -4,8 +4,8 @@ import "testing"
|
|||
|
||||
func TestWhois(t *testing.T) {
|
||||
t.Run("returns a link to a users profile picture", func(t *testing.T) {
|
||||
request := Whois("nouryqt")
|
||||
response := "User: Nouryqt, ID: 31437432, Created on: 2012-06-18, Color: #00F2FB, Affiliate: false, Partner: false, Staff: false, Admin: false, Bot: false, Bio: me :)"
|
||||
request := Whois("Nouryxd")
|
||||
response := "User: Nouryxd, ID: 31437432, Created on: 2012-06-18, Color: #00F2FB, Affiliate: false, Partner: false, Staff: false, Admin: false, Bot: false, Bio: It's good to be king. Wait, maybe. I think maybe I'm just like a little bizarre little person who walks back and forth. Whatever, you know, but..."
|
||||
|
||||
got := request
|
||||
want := response
|
||||
|
|
Loading…
Reference in a new issue