@@ -24,7 +24,7 @@ protected function _after()
24
24
*/
25
25
public function shouldReturnEntityObjectSuccessfully () : void
26
26
{
27
- $ id = Uuid::uuid4 ();
27
+ $ id = Uuid::uuid4 ()-> toString () ;
28
28
$ entity = Entity::createFromJsonFile (__DIR__ .'/../resources/test-schema.json ' , $ id );
29
29
$ entity ->name = 'John Doe ' ;
30
30
$ entity ->age = 31 ;
@@ -52,7 +52,7 @@ public function shouldReturnEntityObjectSuccessfully() : void
52
52
*/
53
53
public function shouldValidatePartiallySuccessfully () : void
54
54
{
55
- $ id = Uuid::uuid4 ();
55
+ $ id = Uuid::uuid4 ()-> toString () ;
56
56
$ entity = Entity::createFromJsonFile (__DIR__ .'/../resources/test-schema.json ' , $ id );
57
57
$ entity ->name = 'John Doe ' ;
58
58
$ entity ->age = 31 ;
@@ -67,7 +67,7 @@ public function shouldValidatePartiallySuccessfully() : void
67
67
*/
68
68
public function shouldCompareTwoEntityObjectSuccessfully () : void
69
69
{
70
- $ id = Uuid::uuid4 ();
70
+ $ id = Uuid::uuid4 ()-> toString () ;
71
71
$ entity1 = Entity::createFromJsonFile (__DIR__ .'/../resources/test-schema.json ' , $ id );
72
72
$ entity2 = Entity::createFromJsonFile (__DIR__ .'/../resources/test-schema.json ' , $ id );
73
73
$ entity3 = Entity::createFromJsonFile (__DIR__ .'/../resources/test-schema.json ' , $ id );
@@ -100,7 +100,7 @@ public function shouldCompareTwoEntityObjectSuccessfully() : void
100
100
*/
101
101
public function shouldFailForRequiredInput () : void
102
102
{
103
- $ id = Uuid::uuid4 ();
103
+ $ id = Uuid::uuid4 ()-> toString () ;
104
104
$ model = Model::createFromJsonFile (__DIR__ .'/../resources/test-schema.json ' );
105
105
$ entity = new Entity ($ model , $ id );
106
106
$ entity ->name = 'John Doe ' ;
@@ -116,7 +116,7 @@ public function shouldFailForRequiredInput() : void
116
116
*/
117
117
public function shouldFailForAModelFileDoesNotExist () : void
118
118
{
119
- $ id = Uuid::uuid4 ();
119
+ $ id = Uuid::uuid4 ()-> toString () ;
120
120
Entity::createFromJsonFile (__DIR__ .'/../resources/test-schema-no-file.json ' , $ id );
121
121
}
122
122
}
0 commit comments