Closed (fixed)
Project:
COOKiES Consent Management
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2023 at 11:02 UTC
Updated:
13 Oct 2023 at 13:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jiskra commentedComment #3
anybodyThanks @Jiskra - could you please provide a MR instead of a patch and keep the dependency injection ($this->configFactory)?
Comment #6
j-leeOpened the MR
Comment #7
anybodyThank you @J-Lee! MR looks good, now we need someone to test it or even better add a simple test case for this to ensure it works in the future.
Comment #8
j-leeWorking on the tests
Comment #9
grevil commentedTests are failing.
Comment #10
j-leeI have problems with the local test environment and a chmod permission problem, so I will test here.
Comment #11
anybodyOff-topic: @Jiskra you may want to try https://github.com/webksde/ddev-vscode-devcontainer-drupal9-template
Batteries and testing included with just two commands ;)
Comment #12
grevil commented@Anybody, I think you meant @J-Lee?
Still one test fails, see https://git.drupalcode.org/issue/cookies-3353972/-/jobs/120727.
Comment #13
j-leeI think I fixed the new tests for the default stylesheet behavior.
As a followup, perhaps a test base class could be created to better organize the tests.
Sorry for the long wait but I had to fix my dev environment first. Thanks @Anybody for the link.
Comment #14
j-leeComment #15
grevil commentedAlright, just some small additions. LGTM!
Comment #17
grevil commentedThere is a test base class for functional js tests, btw! But yea, I agree, that one for normal functional tests could be beneficial!
Comment #18
anybody