Skip to content

Commit 8b9c746

Browse files
authored
remove unused hook (#8567)
1 parent 3e37fa5 commit 8b9c746

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.simplecov

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if ENV.fetch("COVERAGE", 0).to_i.positive?
6767
# However (possibly due to some residual random behaviour in test factories)
6868
# the line coverage needs to be set 0.02 below the reported value.
6969
# Nornmally this value needs to be 0.01 below the reported value due to rounding issues.
70-
minimum_coverage line: 97.43, branch: 87.23
70+
minimum_coverage line: 97.40, branch: 87.23
7171
# Values from test run Fri 13th February 2026
7272
# 97.46% (12553 / 12880) -> 327 lines uncovered
7373
# 87.18% (2808 / 3221) -> 192 + 221 = 411 branches uncovered

app/form_models/base_form.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
class BaseForm
2-
attr_accessor :skip_after_validation_big_query_callback
3-
42
IMAGE_VALIDATION_OPTIONS = {
53
file_type: :image,
64
content_types_allowed: %w[image/jpeg image/png].freeze,
@@ -13,7 +11,7 @@ class BaseForm
1311
include ActiveModel::Model
1412
include ActiveModel::Validations::Callbacks
1513

16-
after_validation :send_errors_to_big_query, unless: :skip_after_validation_big_query_callback
14+
after_validation :send_errors_to_big_query
1715

1816
def send_errors_to_big_query
1917
return if errors.none?

spec/system/publishers/publishers_can_message_multiple_job_candidates_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
first(".govuk-checkboxes__item").click
3434
click_on "Send a message"
3535
# wait for page to load
36-
find("span", text: "Send messages")
36+
find(".trix-content")
3737

3838
click_on "Send message without template"
3939
fill_in_trix_editor "publisher_message_content", with: Faker::ChuckNorris.fact

0 commit comments

Comments
 (0)