Skip to content

Commit

Permalink
ClearlyDefinedPackageCurationProviderTest: Create the Identifier from…
Browse files Browse the repository at this point in the history
… a string

For a more compact representation.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Jun 29, 2020
1 parent e49f029 commit 83c2a18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ClearlyDefinedPackageCurationProviderTest : WordSpec({
"return a curation for an NPM package" {
val provider = ClearlyDefinedPackageCurationProvider(Server.DEVELOPMENT)

val identifier = Identifier("NPM", "@nestjs", "platform-express", "6.2.3")
val identifier = Identifier("NPM:@nestjs:platform-express:6.2.3")
val curations = provider.getCurationsFor(identifier)

curations should haveSize(1)
Expand Down

0 comments on commit 83c2a18

Please sign in to comment.