Commit 8a336af5 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

test searching by name

parent c1a1c981
......@@ -97,7 +97,7 @@ sub test_new_domain {
my $row = search_domain_db($domain->name);
ok($row->{name} && $row->{name} eq $domain->name,"I can't find the domain at the db");
my $domain2 = $RAVADA->search_domain_by_id($domain->id);
my $domain2 = $RAVADA->search_domain($domain->name);
ok($domain2->id eq $domain->id,"Expecting id = ".$domain->id." , got ".$domain2->id);
ok($domain2->name eq $domain->name,"Expecting name = ".$domain->name." , got "
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment