Skip to content

e2e class files do not matched produced files when testing #167

@baspeeters

Description

@baspeeters

The tests for Travis CI stage php 7.2 with coverage=1 lint=1 have been failing for a while and never get to the point of reaching the part where they diff-test the class files in ./tests/e2e. A discrepancy has come to exist in the meantime.

Commit 94a2c3a231471d7771ccb2b3b5830b5f2f7ef092 has gotten it to the point where it now tests this, but it fails because of a space between the ORM column parameters:

+ php schema.phar generate-types tmp/ tests/e2e/schema.yml
[warning] The property "address" (type "Person") has several types.
Using the first one ("PostalAddress") or possible
options("PostalAddress", "Text").
+ diff tests/e2e/src/AppBundle/Entity/Person.php
tmp/AppBundle/Entity/Person.php
34c34
<      * @ORM\Column(type="text", nullable=true)
---
>      * @ORM\Column(type="text",nullable=true)
42c42
<      * @ORM\Column(type="text", nullable=true)
---
>      * @ORM\Column(type="text",nullable=true)
50c50
<      * @ORM\Column(type="text", nullable=true)
---
>      * @ORM\Column(type="text",nullable=true)
58c58
<      * @ORM\Column(type="text", nullable=true)
---
>      * @ORM\Column(type="text",nullable=true)
74c74
<      * @ORM\Column(type="date", nullable=true)
---
>      * @ORM\Column(type="date",nullable=true)
83c83
<      * @ORM\Column(type="text", nullable=true)
---
>      * @ORM\Column(type="text",nullable=true)
91c91
<      * @ORM\Column(type="text", nullable=true)
---
>      * @ORM\Column(type="text",nullable=true)
100c100
<      * @ORM\Column(type="text", nullable=true)
---
>      * @ORM\Column(type="text",nullable=true)
109c109
<      * @ORM\Column(type="text", nullable=true)
---
>      * @ORM\Column(type="text",nullable=true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions