Skip to content
Snippets Groups Projects
Commit 8795d8ee authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Merge branch 'master' of github.com:taddeus/pquery

parents b0352bd4 91f91a87
No related branches found
No related tags found
No related merge requests found
Unit tests in this project assume presence of Simpletest Unit tests in this project assume that PHPUnit and the PHP extention
(https://github.com/wesen/php-simpletest) in a folder 'simpletest' in the same Xdebug (needed for coverage report) have both been installed.
folder that the pQuery folder is located in. \ No newline at end of file
...@@ -172,8 +172,6 @@ class pQuerySqlTest extends PHPUnit_Framework_TestCase { ...@@ -172,8 +172,6 @@ class pQuerySqlTest extends PHPUnit_Framework_TestCase {
function test_update() { function test_update() {
$update = __sql::update('foo', array('bar' => 'test1'), $update = __sql::update('foo', array('bar' => 'test1'),
array('id' => 1), false)->execute(); array('id' => 1), false)->execute();
// Do not continue unless the value has been updated
$this->assertTrue($update->result); $this->assertTrue($update->result);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment