mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
* Adding unit tests for the Init function: for the notification controller Signed-off-by: zhaque44 <haque.zubair@gmail.com> * Adding unit tests for getAppProj function: for the notification controller Signed-off-by: zhaque44 <haque.zubair@gmail.com> * fixing linting errors for indexer.Add in build Signed-off-by: zhaque44 <haque.zubair@gmail.com> * rm appProj test(s) to assess linting issue Signed-off-by: zhaque44 <haque.zubair@gmail.com> * adding first test case for getAppProj Signed-off-by: zhaque44 <haque.zubair@gmail.com> * add happy path for getAppProj func() Signed-off-by: zhaque44 <haque.zubair@gmail.com> * updating test function to reduce duplication Signed-off-by: zhaque44 <haque.zubair@gmail.com> * sanity test fot getAppProj: rm test struct pattern to test generic scenarios Signed-off-by: zhaque44 <haque.zubair@gmail.com> * verifies that getAppProj gracefully handles input with missing "project" field and returns nil Signed-off-by: zhaque44 <haque.zubair@gmail.com> * chore: isAppSyncStatusRefreshed test for improved coverage Signed-off-by: zhaque44 <haque.zubair@gmail.com> --------- Signed-off-by: zhaque44 <haque.zubair@gmail.com>