Skip to content

[BUG] Test cases fails due to MissingPluginException for setAppGroupId #288

Description

@tanmoy-tide

Problem to solve

All the test cases of a class fails where the setAppGroupId function is called for home_widget.

MissingPluginException(No implementation found for method setAppGroupId on channel home_widget)
This test failed after it had already completed.
  Make sure to use a matching library which informs the test runner
  of pending async work.
  package:flutter/src/services/platform_channel.dart 332:7   

Proposal

Adding injectable class so that mock object can be injected to the class where HomeWidget is used

More information

No response

Which Platform would be improved?

Android, iOS

Other

  • Are you interested in working on a PR for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions