From 9f8cecb703529190e05950c820bf046b050664e5 Mon Sep 17 00:00:00 2001 From: James Williams Date: Thu, 27 Apr 2023 09:33:38 +0100 Subject: [PATCH 1/4] test: depend on fork of behaviour --- dependencies/vaticle/repositories.bzl | 4 ++-- test/behaviour/connection/user/UserSteps.java | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dependencies/vaticle/repositories.bzl b/dependencies/vaticle/repositories.bzl index f42d7e548e..37ea18b686 100644 --- a/dependencies/vaticle/repositories.bzl +++ b/dependencies/vaticle/repositories.bzl @@ -52,8 +52,8 @@ def vaticle_typedb_protocol(): def vaticle_typedb_behaviour(): git_repository( name = "vaticle_typedb_behaviour", - remote = "https://github.com/vaticle/typedb-behaviour", - commit = "b4cbdd3aaf28428608fc88eae0852425df57fe25" # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_behaviour + remote = "https://github.com/jamesreprise/typedb-behaviour", + commit = "455159dd1cdd8ab49e72e10d4c464209f2181424" # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_behaviour ) def vaticle_factory_tracing(): diff --git a/test/behaviour/connection/user/UserSteps.java b/test/behaviour/connection/user/UserSteps.java index 3c9ee00950..3bb6372474 100644 --- a/test/behaviour/connection/user/UserSteps.java +++ b/test/behaviour/connection/user/UserSteps.java @@ -47,6 +47,11 @@ public boolean user_is_in_users(String username) { return users.contains(username); } + @Then("user get self") + public void users_get() { + User ignored = getClient().user(); + } + @Then("users get user: {word}") public void users_get(String username) { User ignored = getClient().users().get(username); From 66079c81a1d355602d866aadf8eaebd1e3a8da70 Mon Sep 17 00:00:00 2001 From: James Williams Date: Thu, 27 Apr 2023 11:54:15 +0100 Subject: [PATCH 2/4] feat: get connected user --- dependencies/vaticle/repositories.bzl | 2 +- test/behaviour/connection/user/UserSteps.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies/vaticle/repositories.bzl b/dependencies/vaticle/repositories.bzl index 37ea18b686..202f6abae3 100644 --- a/dependencies/vaticle/repositories.bzl +++ b/dependencies/vaticle/repositories.bzl @@ -53,7 +53,7 @@ def vaticle_typedb_behaviour(): git_repository( name = "vaticle_typedb_behaviour", remote = "https://github.com/jamesreprise/typedb-behaviour", - commit = "455159dd1cdd8ab49e72e10d4c464209f2181424" # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_behaviour + commit = "04973b8312a78b1445ab6011f3b094585cfd9acf" # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_behaviour ) def vaticle_factory_tracing(): diff --git a/test/behaviour/connection/user/UserSteps.java b/test/behaviour/connection/user/UserSteps.java index 3bb6372474..13138de8e6 100644 --- a/test/behaviour/connection/user/UserSteps.java +++ b/test/behaviour/connection/user/UserSteps.java @@ -47,7 +47,7 @@ public boolean user_is_in_users(String username) { return users.contains(username); } - @Then("user get self") + @Then("get connected user") public void users_get() { User ignored = getClient().user(); } From f8acf1b2e52ba4f7c18714953833de9769fefdb2 Mon Sep 17 00:00:00 2001 From: James Williams Date: Thu, 27 Apr 2023 14:23:24 +0100 Subject: [PATCH 3/4] feat: bump behaviour --- dependencies/vaticle/repositories.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies/vaticle/repositories.bzl b/dependencies/vaticle/repositories.bzl index 202f6abae3..49cf9195e0 100644 --- a/dependencies/vaticle/repositories.bzl +++ b/dependencies/vaticle/repositories.bzl @@ -52,8 +52,8 @@ def vaticle_typedb_protocol(): def vaticle_typedb_behaviour(): git_repository( name = "vaticle_typedb_behaviour", - remote = "https://github.com/jamesreprise/typedb-behaviour", - commit = "04973b8312a78b1445ab6011f3b094585cfd9acf" # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_behaviour + remote = "https://github.com/vaticle/typedb-behaviour", + commit = "fbba9fc19042460760b852b765d356c9b3f4ebf0" # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_behaviour ) def vaticle_factory_tracing(): From c1ffed6e4819df61cae20dd4335bac4c26d569fb Mon Sep 17 00:00:00 2001 From: James Williams Date: Sun, 30 Apr 2023 19:11:28 +0100 Subject: [PATCH 4/4] fix: name of behaviour method --- test/behaviour/connection/user/UserSteps.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/behaviour/connection/user/UserSteps.java b/test/behaviour/connection/user/UserSteps.java index 13138de8e6..920f130ef4 100644 --- a/test/behaviour/connection/user/UserSteps.java +++ b/test/behaviour/connection/user/UserSteps.java @@ -48,7 +48,7 @@ public boolean user_is_in_users(String username) { } @Then("get connected user") - public void users_get() { + public void get_connected_user() { User ignored = getClient().user(); }