Skip to content

Commit

Permalink
removed 'remember' fields from the tests as it is no longer considere…
Browse files Browse the repository at this point in the history
…d part of `Paste` schema
  • Loading branch information
alkemann committed Dec 7, 2009
1 parent c74c62a commit c1aba42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions tests/cases/models/PasteTest.php
Expand Up @@ -39,8 +39,7 @@ public function testCreate() {
'author',
'parsed',
'permanent',
'remember',
'created',
'created'
);
$result = array_keys($paste->data());
$this->assertEqual($expected, $result);
Expand All @@ -59,7 +58,6 @@ public function testCreate() {

$this->assertNull($paste->parsed);
$this->assertFalse($paste->permanent);
$this->assertFalse($paste->remember);

$expected = '(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})';
$result = $paste->created;
Expand Down
3 changes: 1 addition & 2 deletions tests/integration/PasteTest.php
Expand Up @@ -52,7 +52,7 @@ public function testRead() {
$expected = array(
'id','content',
'author','language','parsed',
'permanent','remember','created','rev'
'permanent','created','rev'
);
$result = array_keys($paste->data());
$this->assertEqual($expected, $result);
Expand Down Expand Up @@ -178,7 +178,6 @@ protected function _taskFillTableFull() {
'content' => 'Lorem Ipsum',
'parsed' => '',
'permanent' => true,
'remember' => false,
'saved' => false
);
$paste = MockIntegrationPaste::create($data);
Expand Down

0 comments on commit c1aba42

Please sign in to comment.