Files
iNaturalistReactNative/tests/factories/RemoteIdentification.js
Ken-ichi ef1db46bae Bugfix: withdrawing ID was deleting the ID body (#1150)
Additionally,

* Adds tests for ID withdraw and restore
* Renames withdrawOrRestoreIdentification function for clarity
* Adds some accessibility labels for testing and accessibility

Closes #1129
2024-02-14 11:22:13 -08:00

13 lines
334 B
JavaScript

import { define } from "factoria";
import taxonFactory from "./RemoteTaxon";
import userFactory from "./RemoteUser";
export default define( "RemoteIdentification", faker => ( {
uuid: faker.string.uuid( ),
category: "improving",
current: true,
user: userFactory( "RemoteUser" ),
taxon: taxonFactory( "RemoteTaxon" )
} ) );