Skip to content

Commit

Permalink
Fix: Adicionada tolerância de 60s em testes objetos DateTime
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysXavier committed Feb 13, 2017
1 parent ae5741e commit 48cd7bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/UtilTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function umaStringDeDataFormatadaCorretamenteDeveGerarUmObjetoDateTime()

$resultado = Util::converterParaDateTime($str);

$this->assertEquals($dataEsperada, $resultado);
$this->assertEquals($dataEsperada, $resultado, '', 60);
}

/**
Expand All @@ -49,7 +49,7 @@ public function seOParametroUsadoAoConverterParaDateTimeForTambemDateTimeEntaoOP

$resultado = Util::converterParaDateTime($dataEsperada);

$this->assertEquals($dataEsperada, $resultado);
$this->assertEquals($dataEsperada, $resultado, '', 60);
}

/**
Expand Down

0 comments on commit 48cd7bc

Please sign in to comment.