Since, a different version of an application would not be available in AdministratorAdministration, it could not recognize and authorize the application. Hence it causes 401 unauthorized and failure of testcases.
For solving this problem, testcase needs to be updated in a way that all data to be asserted shall be retrieved from current application itself (considering idempotence concept that the OldRelease and NewRelease of an application are same).
Since, a different version of an application would not be available in AdministratorAdministration, it could not recognize and authorize the application. Hence it causes 401 unauthorized and failure of testcases.
For solving this problem, testcase needs to be updated in a way that all data to be asserted shall be retrieved from current application itself (considering idempotence concept that the OldRelease and NewRelease of an application are same).