Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Test fails #123

Open
Dhiraj3089 opened this issue Jan 5, 2016 · 0 comments
Open

Test fails #123

Dhiraj3089 opened this issue Jan 5, 2016 · 0 comments

Comments

@Dhiraj3089
Copy link

While running test on testWeatherTable in TestDb it is producing error. When I commented insertlocation() form testLocationTable it worked properly. Existing code is trying to insert same location entry twice because of which primary key is getting failed and raising the error. Please correct me if am wrong. :)

public void testLocationTable() {
insertLocation();
}

public void testWeatherTable() {
long locationRowId = insertLocation();

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant