Commit c7e8b44a207beed7e14f9963a388b8481a10d9d5

Authored by Vanessa Barbosa
Committed by Rafael Santos
1 parent 04c6b528
Exists in master

Issue: 10 - Nao obrigar o cadastro de ISBN no modulo biblioteca

ieducar/intranet/educar_acervo_cad.php
... ... @@ -395,7 +395,7 @@ class indice extends clsCadastro
395 395 $this->campoNumero( "num_edicao", "Número Edicão", $this->num_edicao, 20, 255, true );
396 396 $this->campoNumero( "ano", "Ano", $this->ano, 5, 4, true );
397 397 $this->campoNumero( "num_paginas", "Número Páginas", $this->num_paginas, 5, 255, true );
398   - $this->campoNumero( "isbn", "ISBN", $this->isbn, 20, 13, true );
  398 + $this->campoNumero( "isbn", "ISBN", $this->isbn, 20, 13, false );
399 399 }
400 400  
401 401 function Novo()
... ...
ieducar/intranet/include/clsBase.inc.php
... ... @@ -29,7 +29,8 @@
29 29 */
30 30  
31 31 // Inclui arquivo de bootstrapping
32   -require_once '/home/rafael/ieducar/ieducar/includes/bootstrap.php';
  32 +//require_once '/home/rafael/ieducar/ieducar/includes/bootstrap.php';
  33 +require_once '../includes/bootstrap.php';
33 34  
34 35 // redireciona requisições, caso configurado
35 36 if ($GLOBALS['coreExt']['Config']->app->routes &&
... ...
ieducar/tests/unit/App/Model/IedFinderTest.php
... ... @@ -207,10 +207,11 @@ class App_Model_IedFinderTest extends UnitBaseTest
207 207 );
208 208  
209 209 $mock = $this->getCleanMock('clsPmieducarSerie');
  210 +
210 211 $mock->expects($this->exactly(2))
211 212 ->method('lista')
212 213 ->will($this->onConsecutiveCalls($returnValue, array($returnValue[1])));
213   -
  214 +
214 215 // Registra a instância no repositório de classes de CoreExt_Entity
215 216 $instance = CoreExt_Entity::addClassToStorage(
216 217 'clsPmieducarSerie', $mock, NULL, TRUE);
... ...