19 lines
267 B
Go
19 lines
267 B
Go
|
package characters_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"git.stinnesbeck.com/nils/artifacts/characters"
|
||
|
)
|
||
|
|
||
|
func TestGetRefresh(t *testing.T) {
|
||
|
char, err := characters.Get("Nils")
|
||
|
if err != nil {
|
||
|
t.Fatal(err)
|
||
|
}
|
||
|
|
||
|
if err := char.Refresh(); err != nil {
|
||
|
t.Fatal(err)
|
||
|
}
|
||
|
}
|