Skip to content

Conversation

@ItsAdityaKSingh
Copy link
Collaborator

Partly fixes #46

Describe the changes you have made in this PR - Added tests for location model

Map<String, dynamic> dummyJson = {"lat": "100.1", "lon": "200.1"};

test('Checking if location fetch from Json is working: ', () {
Location location = Location.fromJson(dummyJson);
Copy link
Collaborator

@nb9960 nb9960 Feb 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Location model is being used inside beacon model only and PR #114 adds check for location fields too. Is there any specific use case for separate check? If not, it would be better if you both collaborate on single PR.

@nb9960
Copy link
Collaborator

nb9960 commented Mar 2, 2022

Please resolve the conflicts.

@ItsAdityaKSingh ItsAdityaKSingh requested a review from nb9960 March 2, 2022 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tests]: Write Test for beacon project.

2 participants