Skip to content
Snippets Groups Projects
Verified Commit b9eda60a authored by Thomas Flori's avatar Thomas Flori
Browse files

fix test: filters are executed twice

parent 34bf7576
No related branches found
No related tags found
2 merge requests!21execute `Field::filter()` in `Field::validate()`,!20make validator and filter invokable
......@@ -40,7 +40,7 @@ class GetDataTest extends TestCase
$gate->addField('username', $field);
$field->shouldReceive('filter')->with('john', ['username' => 'john', 'password' => 'abc123'])
->once()->andReturn('john');
->atLeast()->once()->andReturn('john');
$gate->getData();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment