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

[NFC] Add in a unit test of passing an array into the Civi::settings … #16045

Merged
merged 1 commit into from
Dec 8, 2019

Conversation

seamuslee001
Copy link
Contributor

…set facade and getting it back

ping @eileenmcnaughton this might just be a starting point but its something

@civibot
Copy link

civibot bot commented Dec 8, 2019

(Standard links)

@civibot civibot bot added the master label Dec 8, 2019
@eileenmcnaughton eileenmcnaughton merged commit c928a4b into civicrm:master Dec 8, 2019
@eileenmcnaughton eileenmcnaughton deleted the nfc_settings_array branch December 8, 2019 22:58

$manager = $this->createManager()->useDefaults();
$dSettings = $manager->getBagByDomain($domain->id);
$dSettings->set('test_setting', ['hello' => 'World']);
Copy link
Contributor

Choose a reason for hiding this comment

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

I merged this but since there is not metadata for test_setting it should have failed with a deprecation notice IMHO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants