@budibase/server 2.3.21-alpha.1 → 2.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.3.21-alpha.1",
4
+ "version": "2.3.21",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -43,11 +43,11 @@
43
43
  "license": "GPL-3.0",
44
44
  "dependencies": {
45
45
  "@apidevtools/swagger-parser": "10.0.3",
46
- "@budibase/backend-core": "2.3.21-alpha.1",
47
- "@budibase/client": "2.3.21-alpha.1",
48
- "@budibase/pro": "2.3.21-alpha.0",
49
- "@budibase/string-templates": "2.3.21-alpha.1",
50
- "@budibase/types": "2.3.21-alpha.1",
46
+ "@budibase/backend-core": "^2.3.21",
47
+ "@budibase/client": "^2.3.21",
48
+ "@budibase/pro": "2.3.21-alpha.1",
49
+ "@budibase/string-templates": "^2.3.21",
50
+ "@budibase/types": "^2.3.21",
51
51
  "@bull-board/api": "3.7.0",
52
52
  "@bull-board/koa": "3.9.4",
53
53
  "@elastic/elasticsearch": "7.10.0",
@@ -174,5 +174,5 @@
174
174
  "optionalDependencies": {
175
175
  "oracledb": "5.3.0"
176
176
  },
177
- "gitHead": "726b1c6d35fcfab582617757c6007effec76baa1"
177
+ "gitHead": "787d52bed1db701a6bb76dd26708ebedd495dafb"
178
178
  }
@@ -35,6 +35,10 @@ describe("Google Sheets Integration", () => {
35
35
  let integration: any,
36
36
  config = new TestConfiguration()
37
37
 
38
+ beforeAll(() => {
39
+ config.setGoogleAuth("test")
40
+ })
41
+
38
42
  beforeEach(async () => {
39
43
  integration = new GoogleSheetsIntegration.integration({
40
44
  spreadsheetId: "randomId",
@@ -181,6 +181,13 @@ class TestConfiguration {
181
181
  coreEnv._set("SELF_HOSTED", value)
182
182
  }
183
183
 
184
+ setGoogleAuth = (value: string) => {
185
+ env._set("GOOGLE_CLIENT_ID", value)
186
+ env._set("GOOGLE_CLIENT_SECRET", value)
187
+ coreEnv._set("GOOGLE_CLIENT_ID", value)
188
+ coreEnv._set("GOOGLE_CLIENT_SECRET", value)
189
+ }
190
+
184
191
  modeCloud = () => {
185
192
  this.setSelfHosted(false)
186
193
  }