@@ -270,7 +270,7 @@ public function testForeignKeyInBean(): void
270
270
$ userBean = $ userDao ->getById (1 );
271
271
$ country = $ userBean ->getCountry ();
272
272
273
- $ this ->assertEquals ('UK ' , $ country ->getLabel ());
273
+ $ this ->assertEquals ('uk ' , $ country ->getLabel ());
274
274
275
275
$ userBean2 = $ userDao ->getById (1 );
276
276
$ this ->assertTrue ($ userBean === $ userBean2 );
@@ -891,7 +891,7 @@ public function testJsonEncodeBean(): void
891
891
$ this ->assertNull ($ userDecoded ['modifiedAt ' ]);
892
892
893
893
// testing many to 1 relationships
894
- $ this ->assertEquals ('UK ' , $ userDecoded ['country ' ]['label ' ]);
894
+ $ this ->assertEquals ('uk ' , $ userDecoded ['country ' ]['label ' ]);
895
895
896
896
// testing many to many relationships
897
897
$ this ->assertCount (1 , $ userDecoded ['roles ' ]);
@@ -1059,7 +1059,7 @@ public function testCloneBeanAttachedBean(): void
1059
1059
$ this ->assertNull ($ user2 ->getId ());
1060
1060
$ this ->assertEquals ('bill.shakespeare ' , $ user2 ->getLogin ());
1061
1061
$ this ->assertEquals ('Bill Shakespeare ' , $ user2 ->getName ());
1062
- $ this ->assertEquals ('UK ' , $ user2 ->getCountry ()->getLabel ());
1062
+ $ this ->assertEquals ('uk ' , $ user2 ->getCountry ()->getLabel ());
1063
1063
1064
1064
// MANY 2 MANY must be duplicated
1065
1065
$ this ->assertEquals ('Writers ' , $ user2 ->getRoles ()[0 ]->getName ());
@@ -1094,7 +1094,7 @@ public function testCloneNewBean(): void
1094
1094
$ this ->assertNull ($ user2 ->getId ());
1095
1095
$ this ->assertEquals ('john.doe ' , $ user2 ->getLogin ());
1096
1096
$ this ->assertEquals ('John Doe ' , $ user2 ->getName ());
1097
- $ this ->assertEquals ('UK ' , $ user2 ->getCountry ()->getLabel ());
1097
+ $ this ->assertEquals ('uk ' , $ user2 ->getCountry ()->getLabel ());
1098
1098
1099
1099
// MANY 2 MANY must be duplicated
1100
1100
$ this ->assertEquals ($ role ->getName (), $ user2 ->getRoles ()[0 ]->getName ());
@@ -1379,7 +1379,7 @@ public function testOrderByExternalCol(): void
1379
1379
$ userDao = new TestUserDao ($ this ->tdbmService );
1380
1380
$ users = $ userDao ->getUsersByCountryName ();
1381
1381
1382
- $ this ->assertEquals ('UK ' , $ users [0 ]->getCountry ()->getLabel ());
1382
+ $ this ->assertEquals ('uk ' , $ users [0 ]->getCountry ()->getLabel ());
1383
1383
}
1384
1384
1385
1385
/**
@@ -1390,7 +1390,7 @@ public function testResultIteratorSort(): void
1390
1390
$ userDao = new UserDao ($ this ->tdbmService );
1391
1391
$ users = $ userDao ->findAll ()->withOrder ('country.label DESC ' );
1392
1392
1393
- $ this ->assertEquals ('UK ' , $ users [0 ]->getCountry ()->getLabel ());
1393
+ $ this ->assertEquals ('uk ' , $ users [0 ]->getCountry ()->getLabel ());
1394
1394
1395
1395
$ users = $ users ->withOrder ('country.label ASC ' );
1396
1396
$ this ->assertEquals ('France ' , $ users [0 ]->getCountry ()->getLabel ());
0 commit comments