We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/app$ phpunit --filter '/IssueFixTest::test52BugDependentonAllofWithXFakerFalse$/' PHPUnit 8.5.35 by Sebastian Bergmann and contributors. F 1 / 1 (100%) Time: 79 ms, Memory: 12.00 MB There was 1 failure: 1) tests\unit\IssueFixTest::test52BugDependentonAllofWithXFakerFalse Failed asserting that file contents of /app/tests/tmp/docker_app/models/base/Invoice.php are equal to file contents of /app/tests/specs/issue_fix/52_bug_dependenton_allof_with_x_faker_false/mysql/models/base/Invoice.php cp /app/tests/tmp/docker_app/models/base/Invoice.php /app/tests/specs/issue_fix/52_bug_dependenton_allof_with_x_faker_false/mysql/models/base/Invoice.php Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ {\n return $this->hasOne(\app\models\Animal::class, ['id' => 'animal_id']);\n }\n +\n + public function getInvoice()\n + {\n + return $this->hasOne(\app\models\Invoice::class, ['reference_invoice_id' => 'id'])->inverseOf('reference_invoice');\n + }\n +\n + public function getInvoice2()\n + {\n + return $this->hasOne(\app\models\Invoice::class, ['reference_invoice_2_id' => 'id'])->inverseOf('reference_invoice_2');\n + }\n }\n ' /app/tests/DbTestCase.php:130 /app/tests/unit/IssueFixTest.php:586 phpvfscomposer:///app/vendor/phpunit/phpunit/phpunit:97 FAILURES! Tests: 1, Assertions: 22, Failures: 1.
Expected: this test should pass
Actual: this test fails as above
related to #26 and #25
The text was updated successfully, but these errors were encountered:
SOHELAHMED7
Successfully merging a pull request may close this issue.
Expected: this test should pass
Actual: this test fails as above
related to #26 and #25
The text was updated successfully, but these errors were encountered: