Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon committed Aug 18, 2023
1 parent 82b6340 commit 5c89266
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion landingzones/static/landingzones/js/landingzones.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var updateZoneStatus = function() {
});

// Make the POST request to retrieve zone statuses
if (zoneUuids.length >= 0) {
if (zoneUuids.length > 0) {
$.ajax({
url: zoneStatusUrl,
method: 'POST',
Expand Down
2 changes: 1 addition & 1 deletion landingzones/tests/test_views_ajax.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_post(self):
}
self.assertEquals(response.data, expected)

def test_post_no_landingzone(self):
def test_post_no_zone(self):
"""Test POST request for getting a landing zone status with no zones"""
with self.login(self.user):
response = self.client.post(
Expand Down

0 comments on commit 5c89266

Please sign in to comment.