Skip to content

Commit 154ce7e

Browse files
committed
Adapt tests to the changed behavior.
1 parent 35a8c9d commit 154ce7e

File tree

1 file changed

+2
-2
lines changed
  • crates/stackable-operator/src/commons

1 file changed

+2
-2
lines changed

crates/stackable-operator/src/commons/rbac.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ mod tests {
136136
build_rbac_resources(&cluster, RESOURCE_NAME, Labels::new()).unwrap();
137137

138138
assert_eq!(
139-
Some(service_account_name(RESOURCE_NAME)),
139+
Some(service_account_name(CLUSTER_NAME)),
140140
rbac_sa.metadata.name,
141141
"service account does not match"
142142
);
@@ -147,7 +147,7 @@ mod tests {
147147
);
148148

149149
assert_eq!(
150-
Some(role_binding_name(RESOURCE_NAME)),
150+
Some(role_binding_name(CLUSTER_NAME)),
151151
rbac_rolebinding.metadata.name,
152152
"rolebinding does not match"
153153
);

0 commit comments

Comments
 (0)