request->integrationModulesEdit( [ 'name' => self::SERVICE_NAME, 'code' => self::SERVICE_CODE, 'clientId' => uniqid(), 'logo' => 'http://download.retailcrm.pro/logos/setup.svg', 'active' => 'true' ] ); static::assertInstanceOf('RetailCrm\Response\ApiResponse', $response); static::assertEquals($response->getStatusCode(), 200); static::assertTrue($response->isSuccessful()); } }