public function test_all_settings() { $this->settings->set('one', 1); $this->settings->set('two', 2); $this->settings->set('1.2', 12); $this->assertEquals(['one' => 1, 'two' => 2, 1 => [2 => 12]], $this->settings->all()); }
public function test_driver_settings_with_json() { $this->settings->set('info', ['blue', 'red', 'white']); $this->settings->save(); $this->assertEquals(['info' => ['blue', 'red', 'white']], $this->jsonDriver->load()); }