Skip to content

Commit

Permalink
CV2-4869: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
melsawy committed Jul 22, 2024
1 parent 5f19724 commit d6f4182
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/controllers/graphql_controller_12_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,7 @@ def teardown
pm2 = create_project_media team: t
f = create_feed team: @t
f.teams << t
c = create_cluster feed: f, team_ids: [t.id], project_media_id: pm1.id
create_cluster_project_media cluster: c, project_media: pm1
c = create_cluster feed: f, team_ids: [t.id], project_media: pm1
create_cluster_project_media cluster: c, project_media: pm2
assert_equal 0, @t.project_medias.count

Expand All @@ -365,8 +364,7 @@ def teardown
pm2 = create_project_media team: t
f = create_feed team: @t
f.teams << t
c = create_cluster feed: f, team_ids: [t.id], project_media_id: pm1.id
create_cluster_project_media cluster: c, project_media: pm1
c = create_cluster feed: f, team_ids: [t.id], project_media: pm1
create_cluster_project_media cluster: c, project_media: pm2
assert_equal 1, @t.project_medias.count

Expand Down

0 comments on commit d6f4182

Please sign in to comment.