Skip to content

Commit

Permalink
Fixing tests that shouldn't have been changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 23, 2011
1 parent 3169c5a commit 6bcfd19
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -491,7 +491,7 @@ public function testBuildColumn() {

$column = array('name' => 'name', 'type' => 'string', 'null' => false, 'default' => '', 'length' => '255');
$result = $this->db->buildColumn($column);
$expected = '[name] varchar(255) DEFAULT N\'\' NOT NULL';
$expected = '[name] varchar(255) DEFAULT \'\' NOT NULL';
$this->assertEqual($expected, $result);

$column = array('name' => 'name', 'type' => 'string', 'null' => false, 'length' => '255');
Expand All @@ -511,7 +511,7 @@ public function testBuildColumn() {

$column = array('name' => 'name', 'type' => 'string', 'null' => true, 'default' => '', 'length' => '255');
$result = $this->db->buildColumn($column);
$expected = '[name] varchar(255) DEFAULT N\'\'';
$expected = '[name] varchar(255) DEFAULT \'\'';
$this->assertEqual($expected, $result);
}
/**
Expand Down

0 comments on commit 6bcfd19

Please sign in to comment.