https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28585

--- Comment #34 from Tomás Cohen Arazi <[email protected]> ---
I noticed I wrote this comment too fast, and maybe someone reading this back
would benefit from a more detailed explanation, sorry for that :-D

(In reply to Tomás Cohen Arazi from comment #32)
> Any PUT test on patrons is testing that implicitly.

^^ This tried to mean that:

```
  my $json = $builder->build_object({ class => 'Koha::Patrons' })->to_api;
```

will have any date/date-time attribute filled with a random date/date-time
(that's what TestBuilder does, and to_api converts to the correct format),
which the POST and PUT tests already test when they do things like this:

```
   is_deeply($got, $newpatron, 'Returned patron from update matches expected');
```

Anyhow, we better have explicit tests for special things we want to highlight.
Good catch, RM.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to