Browse Source

fixed tests

Issue #11

needed another mock ruleset added.
master
Blaine Motsinger 1 year ago
parent
commit
9323630db0

+ 1
- 1
t/unit/lib-Rend-Map-API-Points/post_point.t View File

@@ -34,7 +34,7 @@ HAPPY_PATH: {
'connect', sub {
my $dbh = DBI->connect( 'DBI:Mock:', '', '' );

$dbh->{ mock_add_resultset } = [[ 1 ]];
$dbh->{ mock_add_resultset } = [[ 1 ], [ 1 ]];

return $dbh;
}

+ 1
- 1
t/unit/lib-Rend-Map-API-Response/success.t View File

@@ -33,7 +33,7 @@ HAPPY_PATH: {
'connect', sub {
my $dbh = DBI->connect( 'DBI:Mock:', '', '' );

$dbh->{ mock_add_resultset } = [[ 1 ]];
$dbh->{ mock_add_resultset } = [[ 1 ], [ 1 ]];

return $dbh;
}

Loading…
Cancel
Save