Skip to content

Commit 3e196c3

Browse files
authored
Added limit and offset to HereNow API (#121)
* Added limit and offset to HereNow API Default and max value for limit is 1000 * Default Dotenv value for property file is .env Since .env was renamed to .env.dev we need to explicitly specify it. * Fixed AccessManger tests by making channel names unique.
1 parent 9241e64 commit 3e196c3

File tree

19 files changed

+1132
-73
lines changed

19 files changed

+1132
-73
lines changed

.env.dist

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# PubNub API Keys for Local Testing
2+
# Copy this file to .env.dev and fill in your actual keys
3+
4+
# Required for most tests
5+
PUBLISH_KEY=your-publish-key-here
6+
SUBSCRIBE_KEY=your-subscribe-key-here
7+
8+
# Optional - for some advanced tests
9+
SECRET_KEY=your-secret-key-here
10+
11+
# Optional - for PAM (Access Manager) tests
12+
PUBLISH_PAM_KEY=your-pam-publish-key-here
13+
SUBSCRIBE_PAM_KEY=your-pam-subscribe-key-here
14+
SECRET_PAM_KEY=your-pam-secret-key-here
15+
16+
# Optional - UUID for mock tests (defaults to "UUID_MOCK")
17+
UUID_MOCK=test-user

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
* @seba-aln @xavrax @marcin-cebo
2-
README.md @techwritermat @kazydek @seba-aln @xavrax
1+
* @jakub-grzesiowski @marcin-cebo @xavrax @seba-aln
2+
README.md @techwritermat @kazydek @jakub-grzesiowski @marcin-cebo @xavrax @seba-aln

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
.DS_Store
1313
coverage.clover
1414

15+
# Environment files (for local development) #
16+
#############################################
17+
.env.dev
18+
.env.test
19+
.env.prod
20+
1521
# GitHub Actions #
1622
##################
1723
.github/.release

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"phpunit/phpunit": "^9.5",
3939
"squizlabs/php_codesniffer": "^3.7",
4040
"phpstan/phpstan": "^1.8",
41-
"behat/behat": "^3.14"
41+
"behat/behat": "^3.14",
42+
"vlucas/phpdotenv": "^5.6"
4243
},
4344
"autoload": {
4445
"psr-4": {

composer.lock

Lines changed: 306 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)