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

[Merton] Flat above shop changes #4957

Merged
merged 1 commit into from May 16, 2024

Conversation

dracos
Copy link
Member

@dracos dracos commented May 10, 2024

[skip changelog]
Fixes https://github.com/mysociety/societyworks/issues/4310

Looks like this for me:

Copy link

codecov bot commented May 10, 2024

Codecov Report

Attention: Patch coverage is 90.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 82.65%. Comparing base (0c9bf34) to head (c030852).

❗ Current head c030852 differs from pull request most recent head 4ba55d7. Consider uploading reports for the commit 4ba55d7 to get more accurate results

Files Patch % Lines
perllib/FixMyStreet/Roles/Cobrand/SLWP.pm 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##           merton-ww-initial    #4957   +/-   ##
==================================================
  Coverage              82.64%   82.65%           
==================================================
  Files                    397      397           
  Lines                  30799    30808    +9     
  Branches                4861     4867    +6     
==================================================
+ Hits                   25453    25463   +10     
+ Misses                  3896     3895    -1     
  Partials                1450     1450           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -344,10 +344,23 @@ FixMyStreet::override_config {
is $report->category, 'Request new container';
is $report->title, 'Request new Recycling Blue Stripe Bag';
};
subtest 'Weekly collection cannot request a blue stripe bag' => sub {
subtest 'Above-shop address' => sub {
$e->mock('GetServiceUnitsForObject', sub { $above_shop_data });
$mech->get_ok('/waste/12345/request');
Copy link
Contributor

Choose a reason for hiding this comment

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

Have added some basic tests.
This took me far too long because I hadn't noticed this bit was fetching '/waste/12345/request' and not ''/waste/12345' and I kept wondering why I wasn't getting the expected output 🤦‍♀️

@dracos dracos force-pushed the merton-ww-initial-fas-changes branch from c030852 to 4ba55d7 Compare May 16, 2024 09:35
@dracos dracos merged commit 4ba55d7 into merton-ww-initial May 16, 2024
18 checks passed
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