def METHOD_NAME(testapp, biosample_data, organoid):
    biosample_data['biosample_ontology'] = organoid['uuid']
    bio = testapp.post_json('/biosample', biosample_data).json['@graph'][0]
    res = testapp.patch_json(
        bio['@id'],
        {'post_differentiation_time': 20},
        expect_errors=True
    )
    assert res.status_code == 422
    res = testapp.patch_json(
        bio['@id'],
        {'post_differentiation_time_units': 'hour'},
        expect_errors=True
    )
    assert res.status_code == 422
    res = testapp.patch_json(
        bio['@id'],
        {
            'post_differentiation_time': 20,
            'post_differentiation_time_units': 'hour'
        }
    )
    assert res.status_code == 200