Exemplo n.º 1
0
        public FileCreatePublicSharingFixture(OsdrWebTestHarness harness)
        {
            FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "Aspirin.mol", new Dictionary <string, object>()
            {
                { "parentId", harness.JohnId }
            }).Result;

            var file     = harness.Session.Get <RecordsFile.Domain.RecordsFile>(FileId).Result;
            var response = harness.JohnApi.SetPublicFileEntity(FileId, file.Version, true).Result;

            harness.WaitWhileFileShared(FileId);
        }