test: fix tests conversions

Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
SoXX 2023-10-24 15:25:38 +02:00
parent 5f1cba1b71
commit 3e80192bef
4 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ func TestGetTag(t *testing.T) {
return 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 return
} }

View File

@ -60,7 +60,7 @@ func TestGetUser(t *testing.T) {
return 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 return
} }

View File

@ -44,7 +44,7 @@ func TestGetTag(t *testing.T) {
return 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 return
} }

View File

@ -59,7 +59,7 @@ func TestGetUser(t *testing.T) {
return 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 return
} }