Skip to content

test: use assert for tag filter tests

f9a741a
Select commit
Loading
Failed to load commit list.
Draft

Codex/feat app filters enhancement #6936

test: use assert for tag filter tests
f9a741a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 19, 2026 in 5m 15s

Annotations

Check warning on line 67 in pkg/app/AppListingService_tag_filter_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestValidateTagFilters_ExistsRejectsProvidedValue" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYY51jy-UnSmj-lK&open=AZ0FWYY51jy-UnSmj-lK&pullRequest=6938

Check warning on line 54 in internal/sql/repository/helper/AppListingRepositoryQueryBuilder_tag_filters_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestBuildTagFilterPredicate_DoesNotContainRequiresKeyAndNotLike" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYWn1jy-UnSmj-lD&open=AZ0FWYWn1jy-UnSmj-lD&pullRequest=6938

Check warning on line 14 in internal/sql/repository/helper/AppListingRepositoryQueryBuilder_tag_filters_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestBuildAppListingWhereCondition_WithTagFiltersAnd" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYWn1jy-UnSmj-lB&open=AZ0FWYWn1jy-UnSmj-lB&pullRequest=6938

Check warning on line 23 in pkg/app/AppListingService_tag_filter_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestValidateTagFilters_EqualsRejectsEmptyString" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYY51jy-UnSmj-lF&open=AZ0FWYY51jy-UnSmj-lF&pullRequest=6938

Check warning on line 76 in pkg/app/AppListingService_tag_filter_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestValidateTagFilters_DoesNotExistRejectsProvidedValue" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYY51jy-UnSmj-lL&open=AZ0FWYY51jy-UnSmj-lL&pullRequest=6938

Check warning on line 85 in pkg/app/AppListingService_tag_filter_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestNormalizeTagFilters_TrimsKey" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYY51jy-UnSmj-lM&open=AZ0FWYY51jy-UnSmj-lM&pullRequest=6938

Check warning on line 14 in pkg/app/AppListingService_tag_filter_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestValidateTagFilters_EqualsRequiresValue" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYY51jy-UnSmj-lE&open=AZ0FWYY51jy-UnSmj-lE&pullRequest=6938

Check warning on line 41 in pkg/app/AppListingService_tag_filter_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestValidateTagFilters_EmptyKeyReturnsError" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYY51jy-UnSmj-lH&open=AZ0FWYY51jy-UnSmj-lH&pullRequest=6938

Check warning on line 40 in internal/sql/repository/helper/AppListingRepositoryQueryBuilder_tag_filters_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestBuildTagFilterPredicate_DoesNotEqualRequiresKeyAndDifferentValue" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYWn1jy-UnSmj-lC&open=AZ0FWYWn1jy-UnSmj-lC&pullRequest=6938

Check warning on line 59 in pkg/app/AppListingService_tag_filter_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestValidateTagFilters_ExistsAllowsNilValueOnly" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYY51jy-UnSmj-lJ&open=AZ0FWYY51jy-UnSmj-lJ&pullRequest=6938

Check warning on line 32 in pkg/app/AppListingService_tag_filter_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestValidateTagFilters_ContainsRequiresValue" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYY51jy-UnSmj-lG&open=AZ0FWYY51jy-UnSmj-lG&pullRequest=6938

Check warning on line 50 in pkg/app/AppListingService_tag_filter_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "TestValidateTagFilters_InvalidOperatorReturnsError" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=devtron-labs_devtron&issues=AZ0FWYY51jy-UnSmj-lI&open=AZ0FWYY51jy-UnSmj-lI&pullRequest=6938