This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import chai, { expect } from "chai"; | |
import jsonSchema from "chai-json-schema"; | |
import * as data from "$digital-product/data/digital-product/get-postpaid-information.data"; | |
import digitalProductAPI from "$digital-product/pages/v2/digital-product.api"; | |
import * as schema from "$digital-product/schema/digital-product/get-postpaid-information.schema"; | |
import * as api from "$digital-product/helper/lib-api"; | |
import * as login from "$digital-product/data/users/login.data"; | |
import util from 'util'; | |
chai.use(jsonSchema); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-08-26T17:01:49.690Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cypress.Commands.add('loginAdmin', () => { | |
cy.request({ | |
method: 'POST', | |
url: 'https://api.pama.dot.co.id/api/v1/login', | |
body: { | |
email: '[email protected]', | |
password: 'rahasia123', | |
} | |
}) | |
.then((resp) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "SynthWave '84", | |
"window.zoomLevel": -1, | |
"workbench.iconTheme": "material-icon-theme", | |
"php.validate.executablePath": "C:/php-7.3.12/php.exe", | |
"files.autoSave": "afterDelay", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.fontWeight": "500", | |
"extensions.ignoreRecommendations": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Set domain on site-available | |
`sudo nano /etc/apache2/sites-available/domain-name.test.conf` | |
and then, following this script like this (Laravel Project): | |
``` | |
<VirtualHost *:80> | |
ServerName domain-name.test | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/www/html/domain-name/public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FORMAT: 1A | |
HOST: https://oimtrust.com/api/ | |
# Profile API | |
Tutorial membuat API Blueprint dengan apiary.io | |
# Group Profile | |
# Profile Collection [/profile] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status_code": 422, | |
"data": { | |
"errors": { | |
"code": "002", | |
"messages": [ | |
"The email has already been taken." | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status_code": 200, | |
"data": { | |
"status": true, | |
"message": "Thank you for your registration, check your email for approval." | |
} | |
} |
NewerOlder