public void SetRevisionSpeciesFactPublished() { const int STATUS_ID = 400; // Create test Dyntaxa revision species fact. var dyntaxaRevisionSpeciesFact = WebDyntaxaSpeciesFactTestFactory.Create((Int32)TaxonId.Bear); dyntaxaRevisionSpeciesFact.FactorId = (Int32)FactorId.SwedishHistory; dyntaxaRevisionSpeciesFact.RevisionId = 24; dyntaxaRevisionSpeciesFact.IsPublished = false; dyntaxaRevisionSpeciesFact.StatusId = STATUS_ID; DyntaxaManager.CreateDyntaxaRevisionSpeciesFact(GetRevisionContext(), dyntaxaRevisionSpeciesFact); var result = DyntaxaManager.SetRevisionSpeciesFactPublished(GetRevisionContext(), 24); Assert.AreEqual(true, result); }