Skip to content
Permalink
Browse files

revert unit test for unbuffered

  • Loading branch information...
thinkingmedia
thinkingmedia committed Jan 31, 2017
1 parent 80e0994 commit aee51a122a459dceb4f0a30aad38359e79344944
Showing with 0 additions and 10 deletions.
  1. +0 −10 tests/TestCase/ORM/ResultSetTest.php
@@ -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
*

0 comments on commit aee51a1

Please sign in to comment.
You can’t perform that action at this time.