コード例 #1
0
 public function testDeleteSchema()
 {
     $createSchema = new ParseSchema('SchemaDeleteTest');
     $createSchema->addField('newField01');
     $createSchema->save();
     $deleteSchema = new ParseSchema('SchemaDeleteTest');
     $deleteSchema->delete();
     $getSchema = new ParseSchema('SchemaDeleteTest');
     $this->setExpectedException('Parse\\ParseException', 'class SchemaDeleteTest does not exist');
     $getSchema->get();
 }
コード例 #2
0
 public function tearDown()
 {
     $createClass = new ParseSchema('Game');
     $createClass->delete();
     Helper::tearDown();
 }
コード例 #3
0
ファイル: ParseSchemaTest.php プロジェクト: aglo35/vr_beta
 public function testAssertClassName()
 {
     $schema = new ParseSchema();
     $this->setExpectedException('\\Exception', 'You must set a Class Name before make any request.');
     $schema->assertClassName();
 }