![[php-graphene-node-client] Tests and Changes for Golos 0.18HF](/nhc-explorer-cover.webp)
[php-graphene-node-client] Tests and Changes for Golos 0.18HF
My contribution to the development of the Php Graphene Node Client:
My pull request contains:
- add PHPUnit Tests for testing commands in Golos and Steem Blockchains
- changes in commands structure for Golos 0.18HF
Tests
Any developing project needs tests. In addition to this, Golos Hardforks is scheduled every 2-3 months. And Hardfork at Steem is approaching.
So I decided to add tests to the project.
To run the tests, you must have PHPUnit installed on your system. More information about the installation can be read here
Launching tests:
cd Tests
phpunit CommandsTest.php
phpunit CommandsTest.php --filter = testGetBlock // test only one command
Currently, testing covers functions:
- get_block()
- get_account_history()
- get_accounts()
- get_account_count()
- get_account_votes()
- get_active_witnesses()
- get_content()
- get_block_header()
- get_content_replies()
- get_current_median_history_price()
- get_discussions_by_author_before_date()
- get_discussions_by_blog()
- get_discussions_by_created()
- get_discussions_by_feed()
- get_discussions_by_trending()
- get_ops_in_block()
- get_trending_tags()
- get_witnesses_by_vote()
- get_followers()
Changes for Golos 0.18HF:
- Added new apiName:
tags - All commands
get_discussions_by_*moved to newtags - Added new apiName:
witness_api - Commands:
get_active_witnesses,get_current_median_history_price,get_witnesses_by_votemoved to newwitness_api
Link to my pull request:
https://github.com/t3ran13/php-graphene-node-client/pull/14
My Github account:
Php Graphene Node Client account:
Leave [php-graphene-node-client] Tests and Changes for Golos 0.18HF to:
Read more #utopian-io posts
Best Posts From SemasPing
We have not curated any of semasping's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From SemasPing
- link my Steem account with my account on Snax blockchain
- Результаты участия в очередном сезоне Steem Mostrers
- [Accusta for Steem] Now the Accusta system works with the WHALESHARES blockchain. (v1.4.0)
- [Accusta for Steem] Now the Accusta system works with the VIZ blockchain. (v1.4.0)
- Запущена Accusta для блокчейна VIZ
- [Accusta for Steem] Statistic about witnesses rewards for signing the blocks (v1.3.3)
- [Accusta for Steem] Changes in the report "Voting for witnesses" (v1.3.2)
- [RU/EN] [Accusta for Steem] Work Session #3. Page with the contributions of each of the rewards to the earnings of the account (v)
- [Accusta for Steem] - Weekly Support: #2 (v)
- [Accusta for Steem] Charts for Author Rewards(v1.3.1)
- [Accusta for Steem] - Weekly Support: #1. History of Accusta creation
- Accusta - this is a service with Statistic of Steem Accounts.
- [php-graphene-node-client] Tests and Changes for Golos 0.18HF
- [Accusta for Steem] Export to csv, Block listener (v1.2.1)
- [Accusta for Steem] Curation rewards and update layout (v1.1.1)
- [ru/en] Coding Accusta service for steemit
- [Accusta for Steemit] More information about Benefactor rewards (v1.0.0 update)
- SteemNova - день 8-ой. Первая 1000 очков.
- [Accusta for Steemit] Added Benefactor rewards statistics
- SteemNova - что за зверь такой галактический :)