Doctrine 1
  1. Doctrine 1
  2. DC-699

DC292 test doesn't pass due to missing 'migrations' directory

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.2.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      Debian Lenny

      Description

      After downloading Doctrine 1.2.2 from [1] and unpacking it, when trying to run the tests by:

      1. cd Doctrine-1.2.2/tests
      2. php ./run.php

      i get:

      Unexpected UnexpectedValueException thrown in [Doctrine_Ticket_DC292_TestCase] with message [RecursiveDirectoryIterator::__construct(/home/fgimenez/alioth/doctrine_test/Doctrine-1.2.2/tests/Ticket/DC292/migrations): failed to open dir: No such file or directory] in /home/fgimenez/alioth/doctrine_test/Doctrine-1.2.2/lib/Doctrine/Migration.php on line 137

      If i create a 'migrations' directory under Doctrine-1.2.2/tests/Ticket/DC292 all tests pass.

      Cheers,
      Federico

      [1] http://www.doctrine-project.org/downloads/Doctrine-1.2.2.tgz

        Activity

        Hide
        Jonathan H. Wage added a comment -

        SVN contains an empty directory named migrations already. I will add some code to ensure the directory is created though.

        Show
        Jonathan H. Wage added a comment - SVN contains an empty directory named migrations already. I will add some code to ensure the directory is created though.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Federico Gimenez Nieto
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: