Refactored Pending and Valid orgs and admin-approve test

This commit is contained in:
Tom Bloor 2017-04-21 14:14:51 +01:00
parent 99ef319c3b
commit c40a480361
7 changed files with 174 additions and 208 deletions

View file

@ -20,7 +20,7 @@ __PACKAGE__->add_columns(
size => 255,
is_nullable => 0,
},
street_address => {
street_name => {
data_type => 'text',
is_nullable => 1,
},

View file

@ -21,7 +21,7 @@ __PACKAGE__->add_columns(
size => 255,
is_nullable => 0,
},
street_address => {
street_name => {
data_type => 'text',
is_nullable => 1,
},
@ -64,7 +64,7 @@ __PACKAGE__->has_many(
{
"foreign.pendingsellerorganisationid_fk" => "self.id",
},
{ cascade_copy => 0, cascade_delete => 0 },
{ cascade_copy => 0, cascade_delete => 1 },
);
=head2 usersubmitted_fk