Skip to content

Commit b4f9fdb

Browse files
test: split MultigresCluster reconcile tests into success and failure suites
Refactors the monolithic `TestMultigresClusterReconciler_Reconcile` function into two separate test functions: `TestMultigresClusterReconciler_Reconcile_Success` and `TestMultigresClusterReconciler_Reconcile_Failure`. This separation clarifies the intent of each test case and simplifies the test table structure by removing the need for an `expectError` field. It also introduces a `setupFixtures` helper to share common initialization logic while ensuring test isolation.
1 parent e21681f commit b4f9fdb

File tree

1 file changed

+132
-116
lines changed

1 file changed

+132
-116
lines changed

0 commit comments

Comments
 (0)