Skip to content

Commit

Permalink
Arregla pruebas
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Oct 7, 2024
1 parent 49340e6 commit b693424
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/integration/sivel2_gen/actos_xml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ActosXml < PruebaIntegracion
caso.ubicacion_id = ubicaso.id
caso.save!
categoria = Sivel2Gen::Categoria.find(15)
presponsable = Sivel2Gen::Presponsable.find(104)
presponsable = Sivel2Gen::Presponsable.find(39) # Polo Estatal
rangoedad = Sivel2Gen::Rangoedad.create! PRUEBA_RANGOEDAD
persona = Msip::Persona.create! PRUEBA_PERSONA
persona.save!
Expand Down Expand Up @@ -73,7 +73,7 @@ class ActosXml < PruebaIntegracion
created_at: '2014-09-09'
)
grupoper.save!
presponsable = Sivel2Gen::Presponsable.find(104)
presponsable = Sivel2Gen::Presponsable.find(39)
categoria = Sivel2Gen::Categoria.find(15)
actocolectivo = Sivel2Gen::Actocolectivo.create(
presponsable_id: presponsable.id,
Expand Down
2 changes: 1 addition & 1 deletion test/integration/sivel2_gen/detalle_json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class DetalleJson < PruebaIntegracion
"lugar": "VEREDA EL PAPAYO",
"presponsables":
{
"14":"PARAMILITARES"
"14":"Paramilitares"
},
"victimas":
{
Expand Down
2 changes: 1 addition & 1 deletion test/models/sivel2_gen/presponsable_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PresponsableTest < ActiveSupport::TestCase

test "existente" do
presponsable = Sivel2Gen::Presponsable.where(id: 35).take
assert_equal presponsable.nombre, "SIN INFORMACIÓN"
assert_equal presponsable.nombre.upcase, "SIN INFORMACIÓN"
end

end
Expand Down

0 comments on commit b693424

Please sign in to comment.