FactoryBot.define do
	factory :documento_do_licitante, class: 'Licitacao::DocumentoDoLicitante' do
		documento_id {
			Base::Documento.find_or_create_by!(FactoryBot.attributes_for(:base_documento)).id
		}

		pessoa_do_projeto_id {
			Licitacao::PessoaDoProjeto.find_or_create_by!(FactoryBot.attributes_for(:licitacao_pessoa_do_projeto)).id
		}

		recebido {false}
	end
end
