Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
refs #74: remove console application used for test
Browse files Browse the repository at this point in the history
  • Loading branch information
mavimo committed May 22, 2018
1 parent 6d0aabc commit 6ed1505
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 107 deletions.
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,21 +123,6 @@ $customFieldApi = $this->apiWrapper->getCustomFieldApi();
$result = $customFieldApi->updateCustomField($customField);
```

Console runner
-
For testing purposes there is a simple console runner.

```
bin/console -a <api name> -r <request name> -k <api key> [-d payload as json]
```
Examples:
```
bin/console -k your_api_key -r getAllLeads -a LeadApi
bin/console -k your_api_key -r addLead -a LeadApi -d '{...}'
```
The is output will be displayed on the console as json.

Info
------------
Right now just a few request are implemented, because the main need was to create leads.
Expand Down
91 changes: 0 additions & 91 deletions bin/console

This file was deleted.

1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
},
"require-dev": {
"phpunit/phpunit": "^5.7.10",
"symfony/console": "^3.1",
"php-coveralls/php-coveralls": "^2.0"
},
"autoload": {
Expand Down

0 comments on commit 6ed1505

Please sign in to comment.