summaryrefslogtreecommitdiff
path: root/tests/functionals/ApiTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functionals/ApiTest.php')
-rw-r--r--tests/functionals/ApiTest.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/functionals/ApiTest.php b/tests/functionals/ApiTest.php
index 3b1c5241..ece7b46d 100644
--- a/tests/functionals/ApiTest.php
+++ b/tests/functionals/ApiTest.php
@@ -135,7 +135,11 @@ class Api extends PHPUnit_Framework_TestCase
public function testAddColumn()
{
- $this->assertTrue($this->client->addColumn(1, 'New column'));
+ $column_id = $this->client->addColumn(1, 'New column');
+
+ $this->assertNotFalse($column_id);
+ $this->assertInternalType('int', $column_id);
+ $this->assertTrue($column_id > 0);
$columns = $this->client->getColumns(1);
$this->assertTrue(is_array($columns));