Skip to content

Commit 9b92eb5

Browse files
committed
fix(front): failing test
1 parent 13c6a46 commit 9b92eb5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

front/test/front_web/controllers/account_controller_test.exs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,18 @@ defmodule FrontWeb.AccountControllerTest do
3434
end
3535

3636
test "when bitbucket feature is disabled => do not show bitbucket scope", %{
37-
conn: conn,
38-
org_id: org_id
37+
conn: conn
3938
} do
40-
Support.Stubs.Feature.disable_feature(org_id, "bitbucket")
39+
Support.Stubs.Feature.setup_feature("bitbucket", state: :HIDDEN, quantity: 0)
4140

4241
conn =
4342
conn
4443
|> get("/account")
4544

4645
refute html_response(conn, 200) =~ "Bitbucket"
4746
assert html_response(conn, 200) =~ "GitHub"
47+
48+
Support.Stubs.Feature.setup_feature("bitbucket", state: :ENABLED, quantity: 1)
4849
end
4950
end
5051

0 commit comments

Comments
 (0)