File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ public function testEnvironmentOverrides(): void
131131 // override config with shortPrefix ENV var
132132 $ this ->assertSame ('hubbahubba ' , $ config ->delta );
133133 // incorrect env name should not inject property
134- $ this ->assertFalse ( property_exists ( $ config , 'notthere ' ) );
134+ $ this ->assertObjectNotHasProperty ( 'notthere ' , $ config );
135135 // empty ENV var should not affect config setting
136136 $ this ->assertSame ('pineapple ' , $ config ->fruit );
137137 // non-empty ENV var should overrideconfig setting
Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ public function testCreateMockSetsDatabaseFields(): void
413413 $ this ->assertIsInt ($ result ->created_at );
414414 $ this ->assertIsInt ($ result ->updated_at );
415415
416- $ this ->assertTrue ( property_exists ( $ result , 'deleted_at ' ) );
416+ $ this ->assertObjectHasProperty ( 'deleted_at ' , $ result );
417417 $ this ->assertNull ($ result ->deleted_at );
418418 }
419419
You can’t perform that action at this time.
0 commit comments