diff --git a/Criipto.Signatures.IntegrationTests/CreateSignatureOrderTests.cs b/Criipto.Signatures.IntegrationTests/CreateSignatureOrderTests.cs index 6c5d2ab..8016861 100644 --- a/Criipto.Signatures.IntegrationTests/CreateSignatureOrderTests.cs +++ b/Criipto.Signatures.IntegrationTests/CreateSignatureOrderTests.cs @@ -157,6 +157,7 @@ public async void MutationSupportsComposite() .Where(e => e is AllOfSignatureEvidenceProvider) .First(); Assert.NotNull(signatureOrder?.id); + Assert.Equal(SignatureOrderStatus.OPEN, signatureOrder?.status); } } } \ No newline at end of file diff --git a/Criipto.Signatures.IntegrationTests/QuerySignatoryTests.cs b/Criipto.Signatures.IntegrationTests/QuerySignatoryTests.cs index 7e3261f..d028db0 100644 --- a/Criipto.Signatures.IntegrationTests/QuerySignatoryTests.cs +++ b/Criipto.Signatures.IntegrationTests/QuerySignatoryTests.cs @@ -41,6 +41,8 @@ public async void QueryReturnsSignatory() // Assert Assert.NotNull(actual?.id); Assert.Equal(signatory.id, actual!.id); + Assert.Equal(SignatoryStatus.OPEN, signatory.status); + Assert.Equal(SignatureOrderStatus.OPEN, signatory.signatureOrder.status); } } diff --git a/Criipto.Signatures/Operations.cs b/Criipto.Signatures/Operations.cs index 1dc103a..6da2271 100644 --- a/Criipto.Signatures/Operations.cs +++ b/Criipto.Signatures/Operations.cs @@ -53,6 +53,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -130,6 +133,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -198,6 +204,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -253,6 +262,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -308,6 +320,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -386,6 +401,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -463,6 +481,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -531,6 +552,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -627,6 +651,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -695,6 +722,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -761,6 +791,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -850,6 +883,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename @@ -919,6 +955,9 @@ fragment BasicSignatory on Signatory { role signatureOrder { id + status + closedAt + expiresAt } evidenceProviders { __typename diff --git a/Criipto.Signatures/operations.graphql b/Criipto.Signatures/operations.graphql index 703c4ec..eba7034 100644 --- a/Criipto.Signatures/operations.graphql +++ b/Criipto.Signatures/operations.graphql @@ -28,6 +28,9 @@ fragment BasicSignatory on Signatory { signatureOrder { id + status + closedAt + expiresAt } evidenceProviders {