Skip to content

Commit

Permalink
Minor formatting and name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbendebiene authored Dec 12, 2024
1 parent 56a36fe commit e789b0b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ jobs:
docker compose run --rm web bundle exec rails runner '
pass_crypt, pass_salt = PasswordHash.create("testpass");
user = User.create!(
:email => "[email protected]",
:email_valid => true,
:display_name => "testuser",
:terms_seen => true,
:terms_agreed => Time.now.getutc,
:data_public => true,
:pass_crypt => pass_crypt,
:pass_salt => pass_salt
email: "[email protected]",
email_valid: true,
display_name:> "testuser",
terms_seen: true,
terms_agreed: Time.now.getutc,
data_public: true,
pass_crypt: pass_crypt,
pass_salt: pass_salt
);
user.activate
user.save! # save activation to database
Expand All @@ -82,8 +82,8 @@ jobs:
resource_owner_id: user.id,
scopes: application.scopes
)
token.token = "CustomTestToken"
token.save! # save new token to database
token.token = "DummyTestToken"
token.save! # override token in database with dummy token
'
working-directory: ./osm-website

Expand Down
2 changes: 1 addition & 1 deletion test/osm_upload_api_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import 'package:osm_api/osm_api.dart';

void main() async {
final auth = OAuth2(
accessToken: 'CustomTestToken',
accessToken: 'DummyTestToken',
);

const endPoint = 'http://127.0.0.1:3000/api/0.6';
Expand Down

0 comments on commit e789b0b

Please sign in to comment.