Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/psgs 55 cardano api units #17

Merged
merged 16 commits into from Oct 7, 2020
Merged

Conversation

maciejbak85
Copy link
Contributor

No description provided.

Copy link
Collaborator

@mcsherrylabs mcsherrylabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -25,6 +25,14 @@ object HelpExecute {
case (k, v) => k.toLong -> MetadataValueStr (v)
}
}.toMap

def failOnLeft[T](future: Future[CardanoApiResponse[T]])(implicit ec: ExecutionContext): Future[T] = for {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

failOnLeft should be unwrap and since we're in the area future should probably be responseF

@@ -13,8 +13,6 @@ import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

import scala.jdk.CollectionConverters.{MapHasAsJava, SeqHasAsJava}
import scala.jdk.OptionConverters.RichOption


class CardanoJpiSpec extends AnyFlatSpec with Matchers with Configure with ModelCompare with BeforeAndAfterAll {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CardanoJpiSpec has a println on line 60

@maciejbak85 maciejbak85 merged commit f9e62ce into develop Oct 7, 2020
@maciejbak85 maciejbak85 deleted the task/psgs-55-cardano-api-units branch October 7, 2020 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants