test: fix tests conversions
Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
parent
5f1cba1b71
commit
3e80192bef
@ -45,7 +45,7 @@ func TestGetTag(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
if tag.ID == tagResponse.ID && tag.Name == tagResponse.Name && tag.CreatedAt == tag.CreatedAt {
|
||||
if tag.ID == tagResponse.ID && tag.Name == tagResponse.Name && tag.CreatedAt == tagResponse.CreatedAt {
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -60,7 +60,7 @@ func TestGetUser(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
if user.ID == userResponse.ID && user.Name == userResponse.Name && user.CreatedAt == user.CreatedAt {
|
||||
if user.ID == userResponse.ID && user.Name == userResponse.Name && user.CreatedAt == userResponse.CreatedAt {
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -44,7 +44,7 @@ func TestGetTag(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
if tag.ID == tagResponse.ID && tag.Name == tagResponse.Name && tag.CreatedAt == tag.CreatedAt {
|
||||
if tag.ID == tagResponse.ID && tag.Name == tagResponse.Name && tag.CreatedAt == tagResponse.CreatedAt {
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -59,7 +59,7 @@ func TestGetUser(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
if user.ID == userResponse.ID && user.Name == userResponse.Name && user.CreatedAt == user.CreatedAt {
|
||||
if user.ID == userResponse.ID && user.Name == userResponse.Name && user.CreatedAt == userResponse.CreatedAt {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user