@@ -78,7 +78,7 @@ public function testGetCustomerWorks()
78
78
79
79
$ this ->assertSame ('1 ' , $ address ->getID ());
80
80
$ this ->assertSame ('invoice ' , $ address ->getType ());
81
- $ this ->assertSame (' true ' , $ address ->getDefault ());
81
+ $ this ->assertSame (true , $ address ->getDefault ());
82
82
$ this ->assertSame ('Customer 0 ' , $ address ->getName ());
83
83
$ this ->assertSame ('NL ' , $ address ->getCountry ());
84
84
$ this ->assertSame ('Place ' , $ address ->getCity ());
@@ -103,7 +103,7 @@ public function testGetCustomerWorks()
103
103
$ bank = $ banks ['-1 ' ];
104
104
105
105
$ this ->assertSame ('-1 ' , $ bank ->getID ());
106
- $ this ->assertSame (' true ' , $ bank ->getDefault ());
106
+ $ this ->assertSame (true , $ bank ->getDefault ());
107
107
$ this ->assertSame ('Customer 1 ' , $ bank ->getAscription ());
108
108
$ this ->assertSame ('123456789 ' , $ bank ->getAccountnumber ());
109
109
$ this ->assertSame ('ABN Amro ' , $ bank ->getBankname ());
@@ -178,7 +178,7 @@ public function testSendCustomerWorks()
178
178
$ address = new CustomerAddress ();
179
179
$ address ->setID ('1 ' );
180
180
$ address ->setType ('invoice ' );
181
- $ address ->setDefault (' true ' );
181
+ $ address ->setDefault (true );
182
182
$ address ->setName ('Customer 0 ' );
183
183
$ address ->setCountry ('NL ' );
184
184
$ address ->setCity ('Place ' );
@@ -192,7 +192,7 @@ public function testSendCustomerWorks()
192
192
$ customer ->addAddress ($ address );
193
193
194
194
$ bank = new CustomerBank ();
195
- $ bank ->setDefault (' true ' );
195
+ $ bank ->setDefault (true );
196
196
$ bank ->setAscription ('Customer 1 ' );
197
197
$ bank ->setAccountnumber ('123456789 ' );
198
198
$ bank ->setAddressField2 ('' );
0 commit comments