Skip to content

Commit

Permalink
revert unit test for unbuffered
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingmedia committed Jan 31, 2017
1 parent 80e0994 commit aee51a1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/TestCase/ORM/ResultSetTest.php
Expand Up @@ -110,16 +110,6 @@ public function testSerialization()
$this->assertEquals($expected, $outcome->toArray());
}

/**
* @expectedException \Cake\Database\Exception
* @expectedExceptionMessage You cannot serialize an un-buffered ResultSet. Use Query::bufferResults() to get a buffered ResultSet.
*/
public function testSerializationUnbuffered()
{
$results = $this->table->find('all')->bufferResults(false)->all();
serialize($results);
}

/**
* Test iteration after serialization
*
Expand Down

0 comments on commit aee51a1

Please sign in to comment.