Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test if failing for GET /api/v1/imagens/1/listar-segmentacao-celula/1 #171

Open
rgaiacs opened this issue Aug 19, 2020 · 0 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@rgaiacs
Copy link
Contributor

rgaiacs commented Aug 19, 2020

  ● GET /api/v1/imagens/1/listar-segmentacao-celula/1 › anonymous
    expect(received).toMatchObject(expected)
    - Expected  - 22
    + Received  +  1
      Object {
    -   "celulas": ArrayContaining [
    -     Object {
    -       "descricao": Object {
    -         "codigo": Any<Number>,
    -         "id": Any<Number>,
    -         "nome": Any<String>,
    -       },
    -       "id": Any<Number>,
    -       "segmentos_citoplasma": ArrayContaining [
    -         Object {
    -           "coord_x": Any<Number>,
    -           "coord_y": Any<Number>,
    -         },
    -       ],
    -       "segmentos_nucleo": ArrayContaining [
    -         Object {
    -           "coord_x": Any<Number>,
    -           "coord_y": Any<Number>,
    -         },
    -       ],
    -     },
    -   ],
    +   "celulas": Array [],
      }
      2332 |                             expect(
      2333 |                                 response.body
    > 2334 |                             ).toMatchObject(
           |                               ^
      2335 |                                 {
      2336 |                                     celulas: expect.arrayContaining(
      2337 |                                         [{
      at src/__tests__/image.js:2334:31
          at runMicrotasks (<anonymous>)
  ● GET /api/v1/imagens/1/listar-segmentacao-celula/1 › admin
    expect(received).toMatchObject(expected)
    - Expected  - 22
    + Received  +  1
      Object {
    -   "celulas": ArrayContaining [
    -     Object {
    -       "descricao": Object {
    -         "codigo": Any<Number>,
    -         "id": Any<Number>,
    -         "nome": Any<String>,
    -       },
    -       "id": Any<Number>,
    -       "segmentos_citoplasma": ArrayContaining [
    -         Object {
    -           "coord_x": Any<Number>,
    -           "coord_y": Any<Number>,
    -         },
    -       ],
    -       "segmentos_nucleo": ArrayContaining [
    -         Object {
    -           "coord_x": Any<Number>,
    -           "coord_y": Any<Number>,
    -         },
    -       ],
    -     },
    -   ],
    +   "celulas": Array [],
      }
      2377 |                             expect(
      2378 |                                 response.body
    > 2379 |                             ).toMatchObject(
           |                               ^
      2380 |                                 {
      2381 |                                     celulas: expect.arrayContaining(
      2382 |                                         [{
      at src/__tests__/image.js:2379:31
          at runMicrotasks (<anonymous>)
  ● GET /api/v1/imagens/1/listar-segmentacao-celula/1 › anonymous
    expect(received).toMatchObject(expected)
    - Expected  - 22
    + Received  +  1
      Object {
    -   "celulas": ArrayContaining [
    -     Object {
    -       "descricao": Object {
    -         "codigo": Any<Number>,
    -         "id": Any<Number>,
    -         "nome": Any<String>,
    -       },
    -       "id": Any<Number>,
    -       "segmentos_citoplasma": ArrayContaining [
    -         Object {
    -           "coord_x": Any<Number>,
    -           "coord_y": Any<Number>,
    -         },
    -       ],
    -       "segmentos_nucleo": ArrayContaining [
    -         Object {
    -           "coord_x": Any<Number>,
    -           "coord_y": Any<Number>,
    -         },
    -       ],
    -     },
    -   ],
    +   "celulas": Array [],
      }
      2424 |                             expect(
      2425 |                                 response.body
    > 2426 |                             ).toMatchObject(
           |                               ^
      2427 |                                 {
      2428 |                                     celulas: expect.arrayContaining(
      2429 |                                         [{
      at src/__tests__/image.js:2426:31
          at runMicrotasks (<anonymous>)
  ● GET /api/v1/imagens/1/listar-segmentacao-celula/1 › charles
    expect(received).toMatchObject(expected)
    - Expected  - 22
    + Received  +  1
      Object {
    -   "celulas": ArrayContaining [
    -     Object {
    -       "descricao": Object {
    -         "codigo": Any<Number>,
    -         "id": Any<Number>,
    -         "nome": Any<String>,
    -       },
    -       "id": Any<Number>,
    -       "segmentos_citoplasma": ArrayContaining [
    -         Object {
    -           "coord_x": Any<Number>,
    -           "coord_y": Any<Number>,
    -         },
    -       ],
    -       "segmentos_nucleo": ArrayContaining [
    -         Object {
    -           "coord_x": Any<Number>,
    -           "coord_y": Any<Number>,
    -         },
    -       ],
    -     },
    -   ],
    +   "celulas": Array [],
      }
      2469 |                             expect(
      2470 |                                 response.body
    > 2471 |                             ).toMatchObject(
           |                               ^
      2472 |                                 {
      2473 |                                     celulas: expect.arrayContaining(
      2474 |                                         [{
      at src/__tests__/image.js:2471:31
          at runMicrotasks (<anonymous>)
  ● GET /api/v1/imagens/1/listar-segmentacao-celula/1 › admin
    expect(received).toMatchObject(expected)
    - Expected  - 22
    + Received  +  1
      Object {
    -   "celulas": ArrayContaining [
    -     Object {
    -       "descricao": Object {
    -         "codigo": Any<Number>,
    -         "id": Any<Number>,
    -         "nome": Any<String>,
    -       },
    -       "id": Any<Number>,
    -       "segmentos_citoplasma": ArrayContaining [
    -         Object {
    -           "coord_x": Any<Number>,
    -           "coord_y": Any<Number>,
    -         },
    -       ],
    -       "segmentos_nucleo": ArrayContaining [
    -         Object {
    -           "coord_x": Any<Number>,
    -           "coord_y": Any<Number>,
    -         },
    -       ],
    -     },
    -   ],
    +   "celulas": Array [],
      }
      2514 |                             expect(
      2515 |                                 response.body
    > 2516 |                             ).toMatchObject(
           |                               ^
      2517 |                                 {
      2518 |                                     celulas: expect.arrayContaining(
      2519 |                                         [{
      at src/__tests__/image.js:2516:31
          at runMicrotasks (<anonymous>)
@rgaiacs rgaiacs added bug Something isn't working good first issue Good for newcomers labels Aug 19, 2020
@rgaiacs rgaiacs added this to the v2.6.0 milestone Aug 19, 2020
@rgaiacs rgaiacs modified the milestones: v2.6.0, v2.7.0 Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant