Skip to content

Commit

Permalink
fix #105 bumps copyright year to 2025 (#106)
Browse files Browse the repository at this point in the history
* fix #105 bumps copyright year to 2025
* Parameter sqlString renamed to sql_string for keyword `Execute SQL String` in DatabaseLibrary
  • Loading branch information
adrianyorke authored Jan 14, 2025
1 parent 046e025 commit 9903e77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Adrian Yorke
Copyright (c) 2025 Adrian Yorke

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions src/section_10/recipe102_hacking_database_view.robot
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ Insert Data Into Table - user
Create User View - Filter First Name = Eben
[Tags] smoke
${sql} = Set Variable CREATE VIEW vw_User AS SELECT id, first_name, last_name FROM user WHERE first_name = 'Eben';
${output} = Execute SQL String sqlString=${sql}
${output} = Execute SQL String sql_string=${sql}

Drop Table - user
${sql} = Set Variable DROP TABLE user;
${output} = Execute SQL String sqlString=${sql}
${output} = Execute SQL String sql_string=${sql}

Verify Query - User View - expected to fail
[Tags] smoke
${sql} = Catenate SELECT * FROM vw_User LIMIT 1;
Run Keyword And Ignore Error Execute SQL String sqlString=${sql}
Run Keyword And Ignore Error Execute SQL String sql_string=${sql}
${expectederror} = Set Variable OperationalError: no such table: main.user
Run Keyword And Expect Error ${expectederror} Execute SQL String sqlString=${sql}
Run Keyword And Expect Error ${expectederror} Execute SQL String sql_string=${sql}

0 comments on commit 9903e77

Please sign in to comment.