Skip to content

Commit

Permalink
Work on unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksagona committed Dec 14, 2023
1 parent bbcf0a2 commit 48e7652
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
<php>
<env name="MYSQL_DB" value="test_popdb"/>
<env name="MYSQL_USER" value="root"/>
<env name="MYSQL_PASS" value="12root34"/>
<env name="MYSQL_PASS" value=""/>
<env name="MYSQL_HOST" value="127.0.0.1"/>
<env name="PGSQL_DB" value="test_popdb"/>
<env name="PGSQL_USER" value="postgres"/>
<env name="PGSQL_PASS" value="12post34"/>
<env name="PGSQL_PASS" value="postgres"/>
<env name="PGSQL_HOST" value="127.0.0.1"/>
</php>
<source>
Expand Down
2 changes: 1 addition & 1 deletion tests/Adapter/PgsqlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function testBindParams()
->execute();

$db->commit();
$this->assertEquals(1, $db->getNumberOfAffectedRows());
$this->assertEquals(0, $db->getNumberOfAffectedRows());

$debugResults = $profiler->prepareAsString();

Expand Down

0 comments on commit 48e7652

Please sign in to comment.