Skip to content

Conversation

@eezhal92
Copy link
Contributor

@eezhal92 eezhal92 commented Oct 23, 2016

This PR is created because I can't use Illuminate\Foundation\Testing\DatabaseMigrations with doctrine in functional test.

If we take a look to the code, it just execute eloquent migrations. I create this trait in order to able migrate doctrine migrations.

<?php

use LaravelDoctrine\Migrations\Testing\DatabaseMigrations;

class AFeatureTest extends TestCase
{
   use DatabaseMigrations;
}

@eezhal92 eezhal92 changed the title Support for DatabaseMigration Support for DatabaseMigration for Testing Oct 23, 2016
@patrickbrouwers patrickbrouwers merged commit fb25402 into laravel-doctrine:1.1 Nov 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants