-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anton Baliasnikov
committed
Dec 13, 2022
1 parent
971da81
commit 1e80937
Showing
5 changed files
with
14 additions
and
19 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
tests/e2e-tests/src/test/kotlin/common/CredentialSchemas.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package common | ||
|
||
import api_models.CredentialSchema | ||
|
||
object CredentialSchemas { | ||
val STUDENT_SCHEMA = CredentialSchema( | ||
author = "University", | ||
name = "Student schema", | ||
description = "Simple student credentials schema", | ||
attributes = listOf("name", "age"), | ||
tags = listOf("school", "students"), | ||
version = "1.0" | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,8 @@ | ||
package common | ||
|
||
import api_models.CredentialSchema | ||
import java.util.UUID | ||
|
||
object TestConstants { | ||
val CREDENTIAL_SCHEMAS = CredentialSchemas | ||
val RANDOM_CONSTAND_UUID = UUID.randomUUID().toString() | ||
} | ||
|
||
object CredentialSchemas { | ||
val STUDENT_SCHEMA = CredentialSchema( | ||
author = "University", | ||
name = "Student schema", | ||
description = "Simple student credentials schema", | ||
attributes = listOf("name", "age"), | ||
tags = listOf("school", "students"), | ||
version = "1.0" | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters