Permalink
Browse files

Change custom field name in test

Change the name of the custom field being created in the unit test
testCreateFailureWithAdaptor from 'Field With Spaces' to
'Field+With+Plus+Chars' because the original name is a valid
custom field name.
1 parent 29475b5 commit 1f249cd74d2eacd353b8e906c56532bf1b1baeb9 @bkorty bkorty committed Dec 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/AWeberCreateEntryTest.php
View
2 tests/AWeberCreateEntryTest.php
@@ -148,7 +148,7 @@ public function testCreateFailureWithAdapter() {
// Create the new custom field
try {
- $rsp = $custom_fields->create(array('name' => 'Field With Spaces'));
+ $rsp = $custom_fields->create(array('name' => 'Field+With+Plus+Chars'));
}
// Finally the actual unit test. Verify that the create fails.

0 comments on commit 1f249cd

Please sign in to comment.