Files
deploy/notification_controller/controller
Zubair HaqueandGitHub 824c0dbe00 chore: adding test coverage for the notification_controller (#13339)
* Adding unit tests for the Init function: for the notification controller

Signed-off-by: zhaque44 <[email protected]>

* Adding unit tests for getAppProj function: for the notification controller

Signed-off-by: zhaque44 <[email protected]>

* fixing linting errors for indexer.Add in build

Signed-off-by: zhaque44 <[email protected]>

* rm appProj test(s) to assess linting issue

Signed-off-by: zhaque44 <[email protected]>

* adding first test case for getAppProj

Signed-off-by: zhaque44 <[email protected]>

* add happy path for getAppProj func()

Signed-off-by: zhaque44 <[email protected]>

* updating test function to reduce duplication

Signed-off-by: zhaque44 <[email protected]>

* sanity test fot getAppProj: rm test struct pattern to test generic scenarios

Signed-off-by: zhaque44 <[email protected]>

* verifies that getAppProj gracefully handles input with missing "project" field and returns nil

Signed-off-by: zhaque44 <[email protected]>

* chore: isAppSyncStatusRefreshed test for improved coverage

Signed-off-by: zhaque44 <[email protected]>

---------

Signed-off-by: zhaque44 <[email protected]>
2023-04-27 07:23:51 -04:00
..