diff --git a/test/fixtures/communication/website/menus.yml b/test/fixtures/communication/website/menus.yml index 158637044171df7aa77474983473f5f42045b246..51d442523ed21780b78d5634352551aa4485d8cc 100644 --- a/test/fixtures/communication/website/menus.yml +++ b/test/fixtures/communication/website/menus.yml @@ -1,5 +1,34 @@ +# == Schema Information +# +# Table name: communication_website_menus +# +# id :uuid not null, primary key +# github_path :text +# identifier :string +# title :string +# created_at :datetime not null +# updated_at :datetime not null +# communication_website_id :uuid not null, indexed +# language_id :uuid not null, indexed +# original_id :uuid indexed +# university_id :uuid not null, indexed +# +# Indexes +# +# idx_comm_website_menus_on_communication_website_id (communication_website_id) +# index_communication_website_menus_on_language_id (language_id) +# index_communication_website_menus_on_original_id (original_id) +# index_communication_website_menus_on_university_id (university_id) +# +# Foreign Keys +# +# fk_rails_2901ebb799 (original_id => communication_website_menus.id) +# fk_rails_4d43d36541 (language_id => languages.id) +# fk_rails_8d6227916e (university_id => universities.id) +# fk_rails_dcc7198fc5 (communication_website_id => communication_websites.id) +# primary_menu: university: default_university website: website_with_github title: 'Menu principal' - language: fr \ No newline at end of file + language: fr diff --git a/test/models/communication/website/connection_test.rb b/test/models/communication/website/connection_test.rb index 3923f04d35fb246833269d0b5e64ab7acd6213c7..57d808e5b411ed08f82c91918c5cd0b3686bb39a 100644 --- a/test/models/communication/website/connection_test.rb +++ b/test/models/communication/website/connection_test.rb @@ -1,3 +1,29 @@ +# == Schema Information +# +# Table name: communication_website_connections +# +# id :uuid not null, primary key +# direct_source_type :string indexed => [direct_source_id] +# indirect_object_type :string not null, indexed => [indirect_object_id] +# created_at :datetime not null +# updated_at :datetime not null +# direct_source_id :uuid indexed => [direct_source_type] +# indirect_object_id :uuid not null, indexed => [indirect_object_type] +# university_id :uuid not null, indexed +# website_id :uuid not null, indexed +# +# Indexes +# +# index_communication_website_connections_on_object (indirect_object_type,indirect_object_id) +# index_communication_website_connections_on_source (direct_source_type,direct_source_id) +# index_communication_website_connections_on_university_id (university_id) +# index_communication_website_connections_on_website_id (website_id) +# +# Foreign Keys +# +# fk_rails_728034883b (website_id => communication_websites.id) +# fk_rails_bd1ac8383b (university_id => universities.id) +# require "test_helper" # rails test test/models/communication/website/connection_test.rb