Skip to content

Commit

Permalink
[MIG] auth_api_key_server_env: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenminhchien committed Jan 29, 2024
1 parent f1041cd commit f108bc1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion auth_api_key_server_env/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
environments when restoring databases. All you have to do is to add a new
section to your configuration file according to the following convention:
""",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"development_status": "Alpha",
"license": "LGPL-3",
"website": "https://github.com/OCA/server-auth",
Expand Down
10 changes: 0 additions & 10 deletions auth_api_key_server_env/migrations/16.0.1.0.0/post-migration.py

This file was deleted.

1 change: 0 additions & 1 deletion auth_api_key_server_env/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down
2 changes: 1 addition & 1 deletion auth_api_key_server_env/tests/test_auth_api_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def setUpClass(cls, *args, **kwargs):
"tech_name": "test_env",
}
)
cls.api_key_from_env.refresh()
cls.api_key_from_env.invalidate_recordset()
serv_config.add_section("api_key_test_env")
serv_config.set("api_key_test_env", "key", "api_key_from_env")

Expand Down

0 comments on commit f108bc1

Please sign in to comment.