Skip to content

Commit

Permalink
Correção testes
Browse files Browse the repository at this point in the history
  • Loading branch information
andersondanilo committed Sep 22, 2015
1 parent 2d3ee6e commit cd1068d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/Cnab/Remessa/Cnab400/ArquivoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ public function testArquivoItauCnab400PodeSerCriado()
$texto = $arquivo->getText();
$lines = explode("\r\n", trim($texto, "\r\n"));

$this->assertEquals(4, count($lines));
$this->assertEquals(3, count($lines));
$headerText = $lines[0];
$detalheText = $lines[1];
$compl1Text = $lines[2];
$trailerText = $lines[3];
//$compl1Text = $lines[2];
$trailerText = $lines[2];

$asserts = array(
'header' => array(
Expand Down Expand Up @@ -134,19 +134,19 @@ public function testArquivoItauCnab400PodeSerCriado()
'392:393' => '10',
'394:394' => ' ',
'395:400' => sprintf('%06d', 2)
),
),/*
'compl1' => array(
'1:1' => '2',
'2:2' => '2',
'3:10' => '07022015',
'11:23' => '0000000000020',
'24:394' => str_repeat(' ', 371),
'395:400' => '000003'
),
),*/
'trailer' => array(
'001:001' => '9',
'002:394' => str_pad(' ', 393),
'395:400' => sprintf('%06d', 4)
'395:400' => sprintf('%06d', 3)
)
);

Expand All @@ -160,4 +160,4 @@ public function testArquivoItauCnab400PodeSerCriado()
}
}
}
}
}

0 comments on commit cd1068d

Please sign in to comment.