Skip to content

Commit

Permalink
chore: typo "deletet_at" > "deleted_at"
Browse files Browse the repository at this point in the history
The change does not modify or impact anything, but
make the definition aligned according with the
implementation.

Signed-off-by: Alejandro Visiedo <avisiedo@redhat.com>
  • Loading branch information
avisiedo committed Dec 18, 2024
1 parent f1def6a commit cd8caf8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions internal/test/sql/domains_sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func PrepSqlSelectDomainsByID(mock sqlmock.Sqlmock, withError bool, expectedErr
autoenrollment = *data.AutoEnrollmentEnabled
}
expectQuery.WillReturnRows(sqlmock.NewRows([]string{
"id", "created_at", "updated_at", "deletet_at",
"id", "created_at", "updated_at", "deleted_at",

"org_id", "domain_uuid", "domain_name",
"title", "description", "type",
Expand Down Expand Up @@ -231,7 +231,7 @@ func PrepSqlSelectFromDomainsFilterMatchDomain(mock sqlmock.Sqlmock, withError b
expectQuery.WillReturnError(expectedErr)
} else {
rows := sqlmock.NewRows([]string{
"id", "created_at", "updated_at", "deletet_at",
"id", "created_at", "updated_at", "deleted_at",

"org_id", "domain_uuid", "domain_name",
"title", "description", "type",
Expand Down
8 changes: 4 additions & 4 deletions internal/test/sql/ipas_sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func PrepSqlSelectIpas(mock sqlmock.Sqlmock, withError bool, expectedErr error,
expectedQuery.WillReturnError(expectedErr)
} else {
expectedQuery.WillReturnRows(sqlmock.NewRows([]string{
"id", "created_at", "updated_at", "deletet_at",
"id", "created_at", "updated_at", "deleted_at",

"realm_name", "realm_domains",
}).AddRow(
Expand All @@ -41,7 +41,7 @@ func PrepSqlSelectIpaCerts(mock sqlmock.Sqlmock, withError bool, expectedErr err
expectedQuery.WillReturnError(expectedErr)
} else {
rows := sqlmock.NewRows([]string{
"id", "created_at", "updated_at", "deletet_at",
"id", "created_at", "updated_at", "deleted_at",

"ipa_id", "issuer", "nickname",
"not_after", "not_before", "serial_number",
Expand Down Expand Up @@ -75,7 +75,7 @@ func PrepSqlSelectIpaLocations(mock sqlmock.Sqlmock, withError bool, expectedErr
expectedQuery.WillReturnError(expectedErr)
} else {
rows := sqlmock.NewRows([]string{
"id", "created_at", "updated_at", "deletet_at",
"id", "created_at", "updated_at", "deleted_at",

"ipa_id",
"name", "description",
Expand Down Expand Up @@ -103,7 +103,7 @@ func PrepSqlSelectIpaServers(mock sqlmock.Sqlmock, withError bool, expectedErr e
expectedQuery.WillReturnError(expectedErr)
} else {
rows := sqlmock.NewRows([]string{
"id", "created_at", "updated_at", "deletet_at",
"id", "created_at", "updated_at", "deleted_at",

"ipa_id", "fqdn", "rhsm_id", "location",
"ca_server", "hcc_enrollment_server", "hcc_update_server",
Expand Down

0 comments on commit cd8caf8

Please sign in to comment.