Beispiel #1
0
 public function testGetMetadataAsObject()
 {
     $this->client->disableAssociativeArrays();
     $ds = new SodaDataset($this->client, $this->id);
     $md = $ds->getMetadata();
     $this->assertInstanceOf("stdClass", $md);
     $this->assertNotNull($md->createdAt);
 }
Beispiel #2
0
 public function testDisablingAssociativeArrays()
 {
     $sc = new SodaClient($this->domain);
     $sc->disableAssociativeArrays();
     $this->assertFalse($sc->associativeArrayEnabled());
 }