Skip to content

Commit 94666ab

Browse files
peter279kfilips123
authored andcommitted
Tests and assertions enhancement
1 parent cb53169 commit 94666ab

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"issues": "https://github.com/filips123/ConfigWriter/issues/",
2525
"source": "https://github.com/filips123/ConfigWriter/",
2626
"docs": "https://github.com/filips123/ConfigWriter/wiki/"
27-
2827
},
2928
"minimum-stability": "RC",
3029
"prefer-stable": true,

tests/AbstractConfigTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ public function testOffsetGet()
242242
*/
243243
public function testOffsetExists()
244244
{
245-
$this->assertTrue(isset($this->config['database']['host']));
246-
$this->assertFalse(isset($this->config['user']['password']));
245+
$this->assertNotEmpty($this->config['database']['host']);
246+
$this->assertEmpty($this->config['user']['password']);
247247
}
248248

249249
/**

0 commit comments

Comments
 (0)