fix failing tests since the username was not found

This commit is contained in:
lyx0 2021-12-13 17:43:46 +01:00
parent 3e2b524288
commit 7434ef12db
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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