tests: fixed tests that already got fixed
Some checks failed
Gitea Build Check / Build (push) Failing after 6m22s
Some checks failed
Gitea Build Check / Build (push) Failing after 6m22s
Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
parent
b6c201383f
commit
0c76e54259
@ -1101,8 +1101,8 @@ func TestGetAllTagByTagType(t *testing.T) {
|
|||||||
db: gormDB,
|
db: gormDB,
|
||||||
tagType: "aa",
|
tagType: "aa",
|
||||||
},
|
},
|
||||||
want: validTags,
|
want: nil,
|
||||||
wantErr: false,
|
wantErr: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Test 3: No Tag Type",
|
name: "Test 3: No Tag Type",
|
||||||
|
@ -3223,7 +3223,7 @@ func Test_postgresqlConnection_GetAllTagsByTagType(t *testing.T) {
|
|||||||
tagType: "aa",
|
tagType: "aa",
|
||||||
},
|
},
|
||||||
want: validTags,
|
want: validTags,
|
||||||
wantErr: false,
|
wantErr: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Test 3: No Tag Type",
|
name: "Test 3: No Tag Type",
|
||||||
|
Reference in New Issue
Block a user