You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
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();
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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();
The text was updated successfully, but these errors were encountered: