Fakultas Ilmu Komputer UI

Commit cf59a84a authored by Farhan Farasdak's avatar Farhan Farasdak
Browse files

[#50] Fix test script gitlab

parent 68b6b6be
...@@ -10,6 +10,7 @@ test: ...@@ -10,6 +10,7 @@ test:
- export CHROME_BIN=/usr/bin/google-chrome - export CHROME_BIN=/usr/bin/google-chrome
- curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - - curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
- sudo apt-get install -y nodejs - sudo apt-get install -y nodejs
- npm install npm -g
- npm install - npm install
- npm run build-production - npm run build-production
- service postgresql start - service postgresql start
......
...@@ -22,7 +22,7 @@ export default class AdminVacancy extends React.Component { ...@@ -22,7 +22,7 @@ export default class AdminVacancy extends React.Component {
Server.patch(`/vacancies/${this.props.data.id}/verify/`, data).then((status) => { Server.patch(`/vacancies/${this.props.data.id}/verify/`, data).then((status) => {
this.props.updateStatus(this.props.data.id, status.status); this.props.updateStatus(this.props.data.id, status.status);
}); });
} }
generateButton(){ generateButton(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment