瀏覽代碼

remove extra param to assertEquals

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19341 44c647ce-9c0f-0410-b52a-842ac1e357ba
stas 16 年之前
父節點
當前提交
7b59012e22
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/Zend/Db/Adapter/TestCommon.php

+ 1 - 1
tests/Zend/Db/Adapter/TestCommon.php

@@ -246,7 +246,7 @@ abstract class Zend_Db_Adapter_TestCommon extends Zend_Db_TestSetup
         $this->assertEquals(1, $result[0]['product_id'], 'Expecting product_id of 0th row to be 1');
         $this->assertEquals(1, $result[0]['product_id'], 'Expecting product_id of 0th row to be 1');
 
 
         $rowsAffected = $this->_db->delete('zfproducts', "$product_id = 2");
         $rowsAffected = $this->_db->delete('zfproducts', "$product_id = 2");
-        $this->assertEquals(1, $rowsAffected, 'Expected rows affected to return 1', 'Expecting rows affected to be 1');
+        $this->assertEquals(1, $rowsAffected, 'Expecting rows affected to be 1');
 
 
         $select = $this->_db->select()->from('zfproducts')->order('product_id ASC');
         $select = $this->_db->select()->from('zfproducts')->order('product_id ASC');
         $result = $this->_db->fetchAll($select);
         $result = $this->_db->fetchAll($select);