Merge pull request #348 from coreos-inc/fixtests

Fix tests broken by the recent plan change
This commit is contained in:
Jimmy Zelinskie 2015-08-11 14:11:12 -04:00
commit 1c684be11c

View file

@ -2319,11 +2319,11 @@ class TestUserSubscription(ApiTestCase):
# Change the plan.
self.putJsonResponse(UserPlan,
data=dict(plan='bus-large'))
data=dict(plan='bus-large-30'))
# Verify
sub = self.getSubscription()
self.assertEquals('bus-large', sub['plan'])
self.assertEquals('bus-large-30', sub['plan'])
class TestOrgSubscription(ApiTestCase):
@ -2345,11 +2345,11 @@ class TestOrgSubscription(ApiTestCase):
# Change the plan.
self.putJsonResponse(OrganizationPlan,
params=dict(orgname=ORGANIZATION),
data=dict(plan='bus-large'))
data=dict(plan='bus-large-30'))
# Verify
sub = self.getSubscription()
self.assertEquals('bus-large', sub['plan'])
self.assertEquals('bus-large-30', sub['plan'])
class TestUserRobots(ApiTestCase):