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 @@ -110,7 +110,7 @@ public function testEnvironmentOverrides(): void
110110 // override config with shortPrefix ENV var
111111 $ this ->assertSame ('hubbahubba ' , $ config ->delta );
112112 // incorrect env name should not inject property
113- $ this ->assertFalse ( property_exists ( $ config , 'notthere ' ) );
113+ $ this ->assertObjectNotHasAttribute ( 'notthere ' , $ config );
114114 // empty ENV var should not affect config setting
115115 $ this ->assertSame ('pineapple ' , $ config ->fruit );
116116 // non-empty ENV var should overrideconfig setting
Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ public function testCreateMockSetsDatabaseFields(): void
410410 $ this ->assertIsInt ($ result ->created_at );
411411 $ this ->assertIsInt ($ result ->updated_at );
412412
413- $ this ->assertTrue ( property_exists ( $ result , 'deleted_at ' ) );
413+ $ this ->assertObjectHasAttribute ( 'deleted_at ' , $ result );
414414 $ this ->assertNull ($ result ->deleted_at );
415415 }
416416
You can’t perform that action at this time.
0 commit comments