Skip to content

Remove global variables in PushTests suite #2211

Description

@maratal

Remove global variables in push tests:

private var rest: ARTRest!
private var mockHttpExecutor: MockHTTPExecutor!
private var storage: MockDeviceStorage!
private var stateMachineDelegate: StateMachineDelegate!

class PushTests: XCTestCase {
...

Tests shouldn't depend on results of other tests.

┆Issue is synchronized with this Jira Task by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingIncludes all kinds of automated tests, the way that we run them and the infrastructure around them.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions