示例#1
0
 /**
  * @test
  */
 public function initは初期化する()
 {
     NCMB::init('test app key', 'test client key');
     $this->assertEquals('https://mb.api.cloud.nifty.com', NCMB::get('apiUrl'));
     $this->assertEquals('2013-09-01', NCMB::get('apiVersion'));
     $this->assertEquals('test app key', NCMB::get('applicationKey'));
     $this->assertEquals('test client key', NCMB::get('clientKey'));
 }
示例#2
0
 public function setUp()
 {
     NCMB::init(TEST_APPLICATION_ID, TEST_CLIENT_KEY);
 }