• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

podio-community / podio-php / 5913127652

19 Aug 2023 07:20PM UTC coverage: 54.871% (+1.4%) from 53.497%
5913127652

Pull #242

github

daniel-sc
some more unit tests - primarily for coverage
Pull Request #242: More fixes

181 of 181 new or added lines in 43 files covered. (100.0%)

1149 of 2094 relevant lines covered (54.87%)

34.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/models/PodioAction.php
1
<?php
2
/**
3
 * @see https://developers.podio.com/doc/actions
4
 */
5
class PodioAction extends PodioObject
6
{
7
    public function __construct($attributes = array())
8
    {
9
        parent::__construct();
×
10
        $this->property('action_id', 'integer', array('id' => true));
×
11
        $this->property('type', 'string');
×
12
        $this->property('data', 'hash');
×
13
        $this->property('text', 'string');
×
14

15
        $this->has_many('comments', 'Comment');
×
16

17
        $this->init($attributes);
×
18
    }
19

20
    /**
21
     * @see https://developers.podio.com/doc/actions/get-action-1701120
22
     */
23
    public static function get(PodioClient $podio_client, $action_id)
24
    {
25
        return self::member($podio_client->get("/action/{$action_id}"));
×
26
    }
27
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc