diff --git a/SoftLayer/managers/ticket.py b/SoftLayer/managers/ticket.py index 6c1eb042f..04f8470b0 100644 --- a/SoftLayer/managers/ticket.py +++ b/SoftLayer/managers/ticket.py @@ -68,7 +68,6 @@ def create_ticket(self, title=None, body=None, subject=None, priority=None): current_user = self.account.getCurrentUser() new_ticket = { 'subjectId': subject, - 'contents': body, 'assignedUserId': current_user['id'], 'title': title, } diff --git a/tests/CLI/modules/ticket_tests.py b/tests/CLI/modules/ticket_tests.py index 657953c5e..3f338cf1c 100644 --- a/tests/CLI/modules/ticket_tests.py +++ b/tests/CLI/modules/ticket_tests.py @@ -55,7 +55,6 @@ def test_create(self): self.assert_no_fail(result) args = ({'subjectId': 1000, - 'contents': 'ticket body', 'assignedUserId': 12345, 'title': 'Test'}, 'ticket body') @@ -70,7 +69,6 @@ def test_create_with_priority(self): self.assert_no_fail(result) args = ({'subjectId': 1000, - 'contents': 'ticket body', 'assignedUserId': 12345, 'title': 'Test', 'priority': 1}, 'ticket body') @@ -87,7 +85,6 @@ def test_create_and_attach(self): self.assert_no_fail(result) args = ({'subjectId': 1000, - 'contents': 'ticket body', 'assignedUserId': 12345, 'title': 'Test'}, 'ticket body') @@ -108,7 +105,6 @@ def test_create_no_body(self, edit_mock): self.assert_no_fail(result) args = ({'subjectId': 1000, - 'contents': 'ticket body', 'assignedUserId': 12345, 'title': 'Test'}, 'ticket body') diff --git a/tests/managers/ticket_tests.py b/tests/managers/ticket_tests.py index 50ed7b29a..ef3638f05 100644 --- a/tests/managers/ticket_tests.py +++ b/tests/managers/ticket_tests.py @@ -72,7 +72,6 @@ def test_create_ticket(self): subject=1004) args = ({"assignedUserId": 12345, - "contents": "body", "subjectId": 1004, "title": "Cloud Instance Cancellation - 08/01/13"}, "body")