Skip to content

Commit

Permalink
Merge pull request #14 from voku/analysis-XlZ2QN
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
voku committed Jul 10, 2016
2 parents eea790d + ef2a05f commit 427bc53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/SimpleDbTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -440,16 +440,16 @@ public function testQry()
$result = $this->db->qry($sql, 1);
self::assertEquals(1, $result);

$sql = "SELECT * FROM " . $this->db->escape($this->tableName) . "
$sql = 'SELECT * FROM ' . $this->db->escape($this->tableName) . '
WHERE page_id = 1
";
';
/** @noinspection StaticInvocationViaThisInspection */
$result = (array)$this->db->qry($sql);
self::assertEquals('tpl_test', $result[0]['page_template']);

$sql = "SELECT * FROM " . $this->db->escape($this->tableName) . "
$sql = 'SELECT * FROM ' . $this->db->escape($this->tableName) . '
WHERE page_id_lall = 1
";
';
/** @noinspection StaticInvocationViaThisInspection */
$result = $this->db->qry($sql);
self::assertEquals(false, $result);
Expand Down

0 comments on commit 427bc53

Please sign in to comment.