Skip to content

Commit

Permalink
🐛 #61 correção dos testes
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Jan 23, 2021
1 parent 46bc357 commit 5068ba3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions app/tests/control/controllers/TCreateFormTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function testShow_Grid_Paginator(){
}

public function testAddMethod_onSave(){
$expectedSize = 19;
$expectedSize = 28;
$qtdTab = null;
$expected = array();
$expected[2] = $qtdTab.'public function onSave($param)'.EOL;
Expand Down Expand Up @@ -227,13 +227,13 @@ public function testAddButtons_TABLE(){
}

public function testShow_VIEW(){
$expectedQtd = 92;
$expectedQtd = 96;

$expected = array();
$expected[12] = 'class testForm extends TPage'.EOL;
$expected[15] = ESP.'protected $form; // registration form'.EOL;
$expected[16] = ESP.'protected $datagrid; // listing'.EOL;
$expected[17] = ESP.'protected $pageNavigation;'.EOL;
$expected[15] = ESP.'protected $form; //Registration form Adianti'.EOL;
$expected[16] = ESP.'protected $frm; //Registration component FormDin 5'.EOL;
$expected[17] = ESP.'protected $datagrid; //Listing'.EOL;

$this->create->setTableType(TableInfo::TB_TYPE_VIEW);
$resultArray = $this->create->show('array');
Expand All @@ -247,13 +247,13 @@ public function testShow_VIEW(){
}

public function testShow_TABLE(){
$expectedQtd = 82;
$expectedQtd = 116;

$expected = array();
$expected[12] = 'class testForm extends TPage'.EOL;
$expected[15] = ESP.'protected $form; // registration form'.EOL;
$expected[16] = ESP.'protected $datagrid; // listing'.EOL;
$expected[17] = ESP.'protected $pageNavigation;'.EOL;
$expected[15] = ESP.'protected $form; //Registration form Adianti'.EOL;
$expected[16] = ESP.'protected $frm; //Registration component FormDin 5'.EOL;
$expected[17] = ESP.'protected $datagrid; //Listing'.EOL;

$this->create->setTableType(TableInfo::TB_TYPE_TABLE);
$resultArray = $this->create->show('array');
Expand Down

0 comments on commit 5068ba3

Please sign in to comment.