Applies Michael Reddick's patch from RT 46625. oalders/table-casing
Olaf Alders [Fri, 19 Apr 2013 19:25:06 +0000 (15:25 -0400)]
https://rt.cpan.org/Ticket/Attachment/613671/311502/lc_bug.patch

lib/DBIx/Class/Fixtures.pm

index 291fcfe..f566694 100644 (file)
@@ -1330,7 +1330,7 @@ sub populate {
   }
   $self->msg("- creating temp dir");
   $tmp_fixture_dir->mkpath();
-  for ( map { $schema->source($_)->from } $schema->sources) {
+  for ( map { lc $schema->source($_)->from } $schema->sources ) {
     my $from_dir = $fixture_dir->subdir($_);
     next unless -e $from_dir;
     dircopy($from_dir, $tmp_fixture_dir->subdir($_) );