forked from jjn1056/Test-DBIx-Class
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified core fixture to contain data for two tables.
Modified load-fixtures test to expect this result. Test fails. Hash::Merge::merge at line 432 of Test::DBIx::Class.pm doesn't cope with merging an arrayref of hashrefs (multi table fixture) with plain hashref (single table fixture)
- Loading branch information
carlvincent
committed
Sep 16, 2009
1 parent
d889b64
commit 7168d75
Showing
2 changed files
with
38 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,36 @@ | ||
$VAR1 = { | ||
'Person' => [ | ||
[ | ||
'name', | ||
'age', | ||
'email' | ||
$VAR1 = [ | ||
{ | ||
'Person' => [ | ||
[ | ||
'name', | ||
'age', | ||
'email' | ||
], | ||
[ | ||
'John', | ||
'40', | ||
'[email protected]' | ||
], | ||
[ | ||
'Vincent', | ||
'15', | ||
'[email protected]' | ||
], | ||
[ | ||
'Vanessa', | ||
'35', | ||
'[email protected]' | ||
] | ||
], | ||
[ | ||
'John', | ||
'40', | ||
'[email protected]' | ||
}, | ||
{ | ||
'Company' => [ | ||
[ | ||
'name', | ||
], | ||
[ | ||
'Acme', | ||
], | ||
], | ||
[ | ||
'Vincent', | ||
'15', | ||
'[email protected]' | ||
], | ||
[ | ||
'Vanessa', | ||
'35', | ||
'[email protected]' | ||
] | ||
] | ||
}; | ||
}, | ||
]; |